0
Fixed

ZDepth Offset and Units values from the Blend tab aren't copied into into the resulting shader.

Scottp 9 years ago updated 9 years ago 4

I'm writing a particle shader, and I want particles to not be culled by geometry inside a grace bias distance. I tried used the Offset Factor and Units values, but they aren't getting copied into the resulting shader. I needed to hand-edit the shader to get those values to show up.

Under review

That's odd. Is *anything* "copied into" the shader? As in, would connecting a color to Emission and disconnecting everything else make a difference? It could be that you have two shaders with the same name, and only one of them is actually updating.

No, I just have one shader. Yes, all changes are updating correctly except the Blend Offset and Units values. I can see in the resulting shader in the Pass Body, the line for "ZWrite Off", but then there is not a line for "Offset <x>, <y>".

Fixed

This has now been fixed in 1.23. The bug happens when any of the two values are zero. For now, you'll need to make both non-zero :)