Shader Issues #539
Shader Issues
#539
-
I copied and pasted the adjustColor.frag script from V-slice into my mod's shaders and did this var fog = new CustomShader("adjustColor");
fog.brightness = 150;
fog.hue = 0;
fog.contrast = 0;
fog.saturation = 0;
function postCreate() {
gf.shader = brighter;
} not working please help |
Beta Was this translation helpful? Give feedback.
Answered by
SammuXDD
Feb 8, 2025
Replies: 1 comment 1 reply
-
there are two poblems: (english is not my primary language so this is the best that i can explain it) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
THEkatinamicrowave
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
there are two poblems:
1.- you didn't set the "CustomShader" type in the variable ( var fog:CustomShader = new CustomShader("shader"); )
2.-when adding the shader you should put the variable that loaded the shader , so change the "brighter" for "fog".
(english is not my primary language so this is the best that i can explain it)