X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogrambuilder.h;h=f2046e458f7e81c650dcd73de36f2fe4b59fa8a7;hb=e3561c5c4d0b2caf00a0e50ce85c11a9fb62aa72;hp=56fd5e80e59d45ae7de271bcc744eb5d17587e45;hpb=a005e42f923c3c9ea973b1d5ac283441104d8c17;p=libs%2Fgl.git diff --git a/source/programbuilder.h b/source/programbuilder.h index 56fd5e80..f2046e45 100644 --- a/source/programbuilder.h +++ b/source/programbuilder.h @@ -82,11 +82,13 @@ public: /** 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. */ @@ -96,6 +98,12 @@ public: 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; @@ -113,6 +121,7 @@ private: { NO_SCOPE, TYPE, + FUNCTION, UNIFORM, ATTRIBUTE, VERTEX,