0ad/binaries/data/mods/public/shaders/arb/overlay_solid.fp
Ykkrosh fe3315376c Add BoundingSphere, SOverlaySphere.
BoundingSphere is similar to a bounding box, but more spherical.

SOverlaySphere is useful for visualising BoundingSphere (it's quite
inefficient and should only be used for debug functionality).

Normalise the camera frustum clipping planes, so that IsSphereVisible
gives the correct result.

This was SVN commit r15261.
2014-06-01 18:05:46 +00:00

8 lines
75 B
GLSL

!!ARBfp1.0
PARAM color = program.local[0];
MOV result.color, color;
END