|
float mysmoothness = clamp(smoothness, 0.01, max(smoothness, 10.));
|
|
float mysmoothness = clamp(smoothness, 0.01, max(smoothness, 10.));
|
|
vec4 baseColor = mix(bottomColor, topColor, max(pow(max(h, 0.0), mysmoothness), 0.0));
|
|
vec4 baseColor = mix(bottomColor, topColor, max(pow(max(h, 0.0), mysmoothness), 0.0));
|