0
Ikke en bug

Removal of Light Pre-Pass support :(

GNoyce 10 år siden opdateret af Gareth Noyce 9 år siden 2
Hi,

I know this isn't really a bug, but it's not quite an idea, either.

I've been using shader forge to produce transparent / refracting materials, and the removal of support for Light Pre-Pass, while understandable, means these materials no long have any specular when used in a Deferred (or Deferred Light Pre-Pass) scene, in Unity 5.

This has completely broken all my glass and water materials :(

I note the Unity 5 standard shaders behave the same way in Fade & Transparent modes, but I really want to have a few scenes that still use Pre-Pass lighting, so I can have these transparent materials looking good.


Is there a way to hack it back into my shaders? Manually editing the output if need be?

Thanks for an awesome product :)

Svar

Svar
Ikke en bug
It's quite tricky to do it by hand. I guess you would have to use an old version of SF in that case.
Svar
Ikke en bug
It's quite tricky to do it by hand. I guess you would have to use an old version of SF in that case.
I tried that, but it's not really a solution: all the other materials created with SF in Unity4, had to be converted to deferred with the new SF to run well in Unity 5. (Specular would go crazy in U5 deferred scenes otherwise.) I've not found a sensible way to run two different versions of SF in the same project. In the end I've had to bin all of the transparent shaders, as they look wrong. Bit of a shame.

Kundesupport af UserEcho