I’d like to change the color of the Crease image effect from black to something else.
Any help would be greatly appreciated.
system
2
Open the CreaseApply.shader
Find the line
return color * (1.0-abs(hrDepth.a-lrDepth.a)*intensity);
This line is returning the color that you want to modify.
I’ve changed mine to return red, like this
float percent = (1.0-abs(hrDepth.a-lrDepth.a)*intensity);
color.r += color.r * percent;
return color + (color * percent);
I hope this helps!
system
3
Open the CreaseApply.shader
Find the last line in the half4 frag function
return color * (1.0-abs(hrDepth.a-lrDepth.a)*intensity);
to change the Crease to, let’s say red, we’ll change the last line to the following:
float percent = (abs(hrDepth.a-lrDepth.a)*intensity);
color.r += color.r * percent;
return color + (color * percent);
I hope this helps!