Fix T55423: GLSL compilation error Flat + XRay
This commit is contained in:
parent
a52152c59f
commit
8314be7c89
Notes:
blender-bot
2023-02-14 10:32:59 +01:00
Referenced by issue #55423, Flat Lighting + X-Ray Crashes Blender 2.80 #45a5ddb
|
@ -42,7 +42,9 @@ void main()
|
|||
vec2 uv_viewport = gl_FragCoord.xy * invertedViewportSize;
|
||||
vec3 I_vs = view_vector_from_screen_uv(uv_viewport, viewvecs, ProjectionMatrix);
|
||||
|
||||
#ifdef NORMAL_VIEWPORT_PASS_ENABLED
|
||||
vec3 nor = normalize(normal_viewport);
|
||||
#endif
|
||||
|
||||
#ifdef V3D_LIGHTING_MATCAP
|
||||
bool flipped = world_data.matcap_orientation != 0;
|
||||
|
|
Loading…
Reference in New Issue