Fix leftover f postfix from C code.
This commit is contained in:
parent
176705c480
commit
82aa32c3a9
Notes:
blender-bot
2023-02-14 09:47:16 +01:00
Referenced by issue #42687, Parenting Metaball to Empty Freezes Blender Referenced by issue #42690, with addition of vieport specular for cycles the alfa slider was removed
|
@ -2405,8 +2405,8 @@ void node_tex_environment_mirror_ball(vec3 co, sampler2D ima, out vec4 color)
|
|||
|
||||
nco.y -= 1.0;
|
||||
|
||||
float div = 2.0*sqrt(max(-0.5*nco.y, 0.0f));
|
||||
if(div > 0.0f)
|
||||
float div = 2.0*sqrt(max(-0.5*nco.y, 0.0));
|
||||
if(div > 0.0)
|
||||
nco /= div;
|
||||
|
||||
float u = 0.5*(nco.x + 1.0);
|
||||
|
|
Loading…
Reference in New Issue