Sha256: 8edbc66d7ef2aee03294d96168fd54f83f586cf83d6873ad883e78225f0d3847

Contents?: true

Size: 256 Bytes

Versions: 3

Compression:

Stored size: 256 Bytes

Contents

#version 330 core

out vec4 color;

in vec2 TexCoords;

uniform sampler2D fontTexture;

void main()
{
    vec4 textureColor = texture(fontTexture, TexCoords);
    if(textureColor.a < 0.1)
        discard;
    color = vec4(1.0, 1.0, 1.0, textureColor.a);
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_rpg-0.0.4 lib/engine/shaders/text_frag.glsl
ruby_rpg-0.0.3 lib/engine/shaders/text_frag.glsl
ruby_rpg-0.0.2 lib/engine/shaders/text_frag.glsl