0
Fertiggestellt

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

msperling vor 9 Jahren aktualisiert von Giuseppe “Pino” De Francesco vor 9 Jahren 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.

Antwort

Antwort

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

Fertiggestellt

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.

Antwort

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 :)