[Help] what does a checkboard texture indicate?
chipweinberger opened this issue · 1 comments
chipweinberger commented
chipweinberger commented
So I confirmed that checkboard means alpha == 0.
Poking around, I found the offending code! I was always setting alpha to 1.
void main( void )
{
vec4 color = vec4(0.0,0.0,0.0,0.0);
mainImage( color, gl_FragCoord.xy );
shadertoy_out_color = vec4(color.xyz,1.0); // OFFENDING CODE!
}
Now they match!