/** Use a skylight component for ambient lighting. */
bool skylight;
+ bool fog;
+
/** Use a specular lighting component. */
bool specular;
/** Use a normal map texture. Only used if lighting is true. */
- bool normalmap;
+ bool normal_map;
/** Use a shadow map. Requires a ShadowMap effect or equivalent in the
pipeline. */
equivalend in the pipeline. */
bool reflection;
+ /** Clip primitives against user defined clip planes. */
+ bool clipping;
+
+ /** Number of clipping planes to process. */
+ unsigned max_clip_planes;
+
/** Force the use of legacy shaders conforming to GLSL 1.10. Defaults
to true if the version of GLSL is less than 1.30, false otherwise. */
bool legacy;
{
NO_SCOPE,
TYPE,
+ FUNCTION,
UNIFORM,
ATTRIBUTE,
VERTEX,
NO_INTERFACE = 0,
INPUT = 1,
OUTPUT = 2,
- PASSTHROUGH = INPUT|OUTPUT,
GOAL = 4
};