]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - dpsoftrast.h
we need one more glsl 130 compat ifdef...
[xonotic/darkplaces.git] / dpsoftrast.h
index 302d5cf28da625ad51bf29a3109815ce0cd9a229..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;
 
@@ -252,7 +253,7 @@ typedef enum DPSOFTRAST_UNIFORM_e
        DPSOFTRAST_UNIFORM_LightColor,
        DPSOFTRAST_UNIFORM_LightDir,
        DPSOFTRAST_UNIFORM_LightPosition,
-       DPSOFTRAST_UNIFORM_OffsetMapping_Scale,
+       DPSOFTRAST_UNIFORM_OffsetMapping_ScaleSteps,
        DPSOFTRAST_UNIFORM_PixelSize,
        DPSOFTRAST_UNIFORM_ReflectColor,
        DPSOFTRAST_UNIFORM_ReflectFactor,