0
Completed

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

msperling 8 years ago updated by Giuseppe “Pino” De Francesco 8 years ago 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.

Answer

Answer

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

Completed

This is fixed in the coming version

Any ETA for 1.22?

This weekend, I'm guessing!

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.

Answer

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