fix wrong scope when using CUSTOM_SCENE_PARAMETERS.glsl

This commit is contained in:
Xonk
2026-01-18 00:40:55 -05:00
parent 01ed305043
commit dbe64beec9
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -100,7 +100,7 @@
*/
#ifdef DECLARE_UNIFORMS_OR_WRITE_FUNCTIONS_FOR_CUSTOM_SCENE_CONTROLLER_PROFILES
// DECLARE UNIFORMS PROVIDED BY IRIS HERE. if they are already declared elswhere in the shaderpack, there will be an error. not all uniforms are viable to be used.
// DECLARE UNIFORMS PROVIDED BY IRIS HERE. if they are already declared elsewhere in the shaderpack, there will be an error. not all uniforms are viable to be used.
// read the iris documentation for a complete list of uniforms to call https://shaders.properties/current/reference/uniforms/overview/
// you can also write functions here if you want. you must follow the syntax of the programming language "GLSL"
+1
View File
@@ -587,6 +587,7 @@ if(rainStrength > 0.0001){
#define WRITE_CUSTOM_SCENE_CONTROLLER_PROFILES
#undef DECLARE_UNIFORMS_OR_WRITE_FUNCTIONS_FOR_CUSTOM_SCENE_CONTROLLER_PROFILES
#include "/CUSTOM_SCENE_PARAMETERS.glsl"
}