Fix GPU linking Error.
"The geometry shader uses varying _I;gl_PerVertex;gl_ClipDistance, but previous shader does not write to it."
This commit is contained in:
parent
35f0a59df6
commit
95db2e8749
|
@ -43,6 +43,10 @@ void main()
|
|||
gl_Position = ModelViewProjectionMatrix * vec4(pos, 1.0);
|
||||
|
||||
facing_g = normalize(NormalMatrix * nor).z;
|
||||
|
||||
#ifdef USE_WORLD_CLIP_PLANES
|
||||
world_clip_planes_calc_clip_distance((ModelMatrix * vec4(pos, 1.0)).xyz);
|
||||
#endif
|
||||
}
|
||||
|
||||
#else /* SELECT_EDGES */
|
||||
|
|
Loading…
Reference in New Issue