mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 04:08:13 +02:00
removing .f for a float in shader
This commit is contained in:
parent
d1cd9f5c6b
commit
b4f7433042
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ void main(void) {
|
||||||
float touch = (outlinedDepth < FAR_Z) ? 1.0 : 0.0;
|
float touch = (outlinedDepth < FAR_Z) ? 1.0 : 0.0;
|
||||||
sumOutlineDepth = max(outlinedDepth * touch, sumOutlineDepth);
|
sumOutlineDepth = max(outlinedDepth * touch, sumOutlineDepth);
|
||||||
intensity += touch;
|
intensity += touch;
|
||||||
weight += 1.f;
|
weight += 1.0;
|
||||||
}
|
}
|
||||||
uv.x += deltaUv.x;
|
uv.x += deltaUv.x;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue