]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - dpsoftrast.h
we need one more glsl 130 compat ifdef...
[xonotic/darkplaces.git] / dpsoftrast.h
index 15f4a8c83b58ad54f9fa64a9ea6acdacf9c9990a..7d9ecef05887d06148e938cafce79d957fb41880 100644 (file)
@@ -192,8 +192,9 @@ typedef enum shaderpermutation_e
        SHADERPERMUTATION_REFLECTCUBE = 1<<26, ///< fake reflections using global cubemap (not HDRI light probe)
        SHADERPERMUTATION_NORMALMAPSCROLLBLEND = 1<<27, ///< (water) counter-direction normalmaps scrolling
        SHADERPERMUTATION_BOUNCEGRID = 1<<28, ///< (lightmap) use Texture_BounceGrid as an additional source of ambient light
-       SHADERPERMUTATION_LIMIT = 1<<29, ///< size of permutations array
-       SHADERPERMUTATION_COUNT = 29 ///< size of shaderpermutationinfo array
+       SHADERPERMUTATION_BOUNCEGRIDDIRECTIONAL = 1<<29, ///< (lightmap) use 16-component pixels in bouncegrid texture for directional lighting rather than standard 4-component
+       SHADERPERMUTATION_LIMIT = 1<<30, ///< size of permutations array
+       SHADERPERMUTATION_COUNT = 30 ///< size of shaderpermutationinfo array
 }
 shaderpermutation_t;