Sha256: bb59cc6746eedee67a3778994b47d01884517d6b2557202f46a9f0c7b39bb7a6
Contents?: true
Size: 348 Bytes
Versions: 11
Compression:
Stored size: 348 Bytes
Contents
#version 110 uniform sampler2D in_Texture; uniform bool in_TextureEnabled; uniform int in_WindowWidth; uniform int in_WindowHeight; varying vec4 var_Color; varying vec2 var_TexCoord; void main() { if(in_TextureEnabled) { gl_FragColor = texture2D(in_Texture, var_TexCoord) * var_Color; } else { gl_FragColor = var_Color; } }
Version data entries
11 entries across 11 versions & 2 rubygems