Commit b7959e1d authored by Mario Hlawitschka's avatar Mario Hlawitschka
Browse files

[FIX] fixed shader

parent 87be91ca
......@@ -4,7 +4,7 @@ uniform sampler3D tex0;
void main()
{
vec4 color = texture3D(tex0, VaryingTexCoord0);
vec4 color = texture3D(tex0, VaryingTexCoord0.xyz);
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