mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Reduce the size of the smoothing step.
This commit is contained in:
parent
3d88463569
commit
91942e6188
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ varying vec4 alphaValues;
|
|||
void main(void) {
|
||||
// determine the cube face to use for texture coordinate generation
|
||||
vec3 absNormal = abs(normal);
|
||||
vec3 steps = smoothstep(absNormal.zzy - vec3(0.25, 0.25, 0.25), absNormal.zzy + vec3(0.25, 0.25, 0.25), absNormal.xyx);
|
||||
vec3 steps = smoothstep(absNormal.zzy - vec3(0.05, 0.05, 0.05), absNormal.zzy + vec3(0.05, 0.05, 0.05), absNormal.xyx);
|
||||
|
||||
// blend the splat textures
|
||||
vec4 base0 = texture2D(diffuseMaps[0], gl_TexCoord[0].xy);
|
||||
|
|
Loading…
Reference in a new issue