sun_position: Fix T72495 traceback error when trying to activate
Fix by Jean First (robbott) in D6425
This commit is contained in:
parent
441f30bbe3
commit
95e98889ab
Notes:
blender-bot
2023-02-14 19:04:23 +01:00
Referenced by issue #72495, Lighting: sun position
|
@ -50,6 +50,7 @@ else:
|
|||
|
||||
flat in vec2 v_StartPos;
|
||||
in vec4 v_VertPos;
|
||||
out vec4 FragColor;
|
||||
|
||||
uniform vec2 u_Resolution;
|
||||
|
||||
|
@ -61,7 +62,7 @@ else:
|
|||
|
||||
if (step(sin(dist / 5.0f), 0.0) == 1) discard;
|
||||
|
||||
gl_FragColor = u_Color;
|
||||
FragColor = u_Color;
|
||||
}
|
||||
'''
|
||||
|
||||
|
|
Loading…
Reference in New Issue