Commit f04bf412 authored by schurade's avatar schurade
Browse files

[FIX] commited the wrong shader files before

parent e140d2de
varying vec4 VaryingTexCoord0; varying vec4 VaryingTexCoord0;
uniform sampler3D tex0;
void main() void main()
{ {
gl_FragColor = VaryingTexCoord0; vec4 color = texture3D(tex0, VaryingTexCoord0);
if ( ( color.r + color.g + color.b ) < 0.01 )
discard;
gl_FragColor = color;
} }
varying vec4 VaryingTexCoord0; varying vec4 VaryingTexCoord0;
uniform sampler3D tex0;
void main() void main()
{ {
vec4 color = texture3D(tex0, VaryingTexCoord0); VaryingTexCoord0 = gl_MultiTexCoord0;
gl_Position = ftransform();
if ( ( color.r + color.g + color.b ) < 0.01 )
discard;
gl_FragColor = color;
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment