5 lines
174 B
GLSL
5 lines
174 B
GLSL
// Original optional Shacraft material function. GLSL ES 3.00.
|
|
vec3 shacraftBounceTint(vec3 color, float pulse) {
|
|
return color * (1.0 + 0.12 * clamp(pulse, 0.0, 1.0));
|
|
}
|