Wierd shader performance

Started by
9 comments, last by BradDaBug 18 years, 4 months ago
When I change the line to this:
fog = (gl_Fog.end - 0.0) * gl_Fog.scale;
it runs fine. But if instead of 0.0 I put gl_FogFragCoord or gl_FragCoord.z, it runs really slowly.
I like the DARK layout!

This topic is closed to new replies.

Advertisement