0
Ukończony

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

msperling 9 lat temu Ostatnio zmodyfikowane przez Giuseppe “Pino” De Francesco 9 lat temu 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.

Odpowiedź

Odpowiedź

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

Ukończony

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.

Odpowiedź

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