0
COMPLETADO

PBL shader goes pink as soon as metallic gets connected - viewReflectDirection not declared

msperling hace 9 años actualizado por Giuseppe “Pino” De Francesco hace 9 años 6

undeclared identifier 'viewReflectDirection' at line 78 (on d3d11)

Try this:

Connect single floats to BaseColor, Gloss and Metallic.

As soon as you connect one to Metallic the shader fails to compile.

Respuesta

Respuesta

Ticked this one off a bit prematurely - it has definitely been fixed now in 1.23 :)

COMPLETADO

This is fixed in the coming version

Hi Joachim,

this bug does not seem to be fixed in 1.22 but I could narrow it down to the Lighting tab. When disabling Reflection probe support I get the error above:

undeclared identifier 'viewReflectDirection' at line 106 (on d3d11)


When enabling Reflection probe Support all is well.


Shader is on PBL.

Deferred or Forward, Metallic or Specular, Gloss or Roughness doesn't seem to have any impact on the repro.

Respuesta

Ticked this one off a bit prematurely - it has definitely been fixed now in 1.23 :)

:) looking forward to get this then, excellent job anyway :)