mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Support OpenGL 3 (#13321)
This commit is contained in:
@@ -14,7 +14,7 @@ centroid varying vec2 varTexCoord;
|
||||
// smoothstep - squared
|
||||
float smstsq(float f)
|
||||
{
|
||||
f = f * f * (3 - 2 * f);
|
||||
f = f * f * (3. - 2. * f);
|
||||
return f;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user