0
Corrigé

Changing the Light Quality to Per-Vertex throws lots of shader errors

carlos wilkes il y a 11 ans mis à jour par Freya Holmér (Developer) il y a 10 ans 1

Shader error in '': Parse error: syntax error at line 1

Shader error in 'Shader Forge/Cubemaps': GLSL vertex shader: 341: ERROR: 'i' : undeclared identifier  at line 18

Shader error in 'Shader Forge/Cubemaps': Shader program had errors at line 19

Shader error in 'Shader Forge/Cubemaps': Program 'vert', undeclared identifier 'i' (compiling for d3d11) at line 52

etc

Solution

+1
Solution
Corrigé
Per-vertex mode has now been removed, but will most likely come back at a later stage, after the initial release. I'll mark this topic as fixed, because you can't get these errors anymore (Since the feature has been removed)

Per-vertex lighting is currently not really supported, so it's expected :) It's of course a planned feature, just not a very high-priority one at the moment!

+1
Solution
Corrigé
Per-vertex mode has now been removed, but will most likely come back at a later stage, after the initial release. I'll mark this topic as fixed, because you can't get these errors anymore (Since the feature has been removed)