mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2026-10-10 05:03:04 +08:00
fix wrong scope when using CUSTOM_SCENE_PARAMETERS.glsl
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user