Sloth loves Chunk!
This commit is contained in:
12
SQCSim2021/media/shaders/shader01.frag
Normal file
12
SQCSim2021/media/shaders/shader01.frag
Normal file
@@ -0,0 +1,12 @@
|
||||
uniform sampler2D tex;
|
||||
varying vec4 light;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 texel;
|
||||
texel = texture2D(tex,gl_TexCoord[0].st);
|
||||
|
||||
texel *= light;
|
||||
|
||||
gl_FragColor = texel;
|
||||
}
|
Reference in New Issue
Block a user