X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fprogrambuilder.h;h=f2046e458f7e81c650dcd73de36f2fe4b59fa8a7;hb=7a7e1c4c249c4e8a3287d07f81a9f0fa944f894b;hp=ecd006d552709eec6656a3409efe47b5bb6afa51;hpb=bbd21944fae06f134625b2f5595c3aab36c3aa9e;p=libs%2Fgl.git diff --git a/source/programbuilder.h b/source/programbuilder.h index ecd006d5..f2046e45 100644 --- a/source/programbuilder.h +++ b/source/programbuilder.h @@ -88,7 +88,7 @@ public: 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. */ @@ -98,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; @@ -115,6 +121,7 @@ private: { NO_SCOPE, TYPE, + FUNCTION, UNIFORM, ATTRIBUTE, VERTEX,