remove debug code
This commit is contained in:
parent
f43eac3ed8
commit
e4e66476a9
|
@ -45,7 +45,6 @@ void main()
|
||||||
distance[2] = dot(p, HalfSpace2);
|
distance[2] = dot(p, HalfSpace2);
|
||||||
distance[3] = dot(p, HalfSpace3);
|
distance[3] = dot(p, HalfSpace3);
|
||||||
|
|
||||||
#if 1
|
|
||||||
distance = smoothstep(-FWidth, FWidth, distance);
|
distance = smoothstep(-FWidth, FWidth, distance);
|
||||||
inorout += dot(distance, vec4(1.0));
|
inorout += dot(distance, vec4(1.0));
|
||||||
|
|
||||||
|
@ -73,7 +72,4 @@ void main()
|
||||||
surfColor += SpecularColor * intensity;
|
surfColor += SpecularColor * intensity;
|
||||||
|
|
||||||
gl_FragColor = surfColor;
|
gl_FragColor = surfColor;
|
||||||
#else
|
|
||||||
gl_FragColor = distance;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue