+3

U5: Projected Decals (via command buffers) are not working with SF shaders

cosmogonies 10 years ago 0
Hi,
I wanted to try this new "command buffer" thing that Aras talked us about in his blog,
especially about the projected decals feature.

As I open the given project (Unity5), it worked great on materials with the "Standard shader" (also with legacy ones), but if I switch instead with SF shaders, the decals are not shown anymore.
It seems to occur also with very basic shaders in SF, like mapping a texture on the diffuse channel.

If I remove inside the shader code, the block of the Pass "ForwardBase", the decals are shown again.
Can you do something about it ?

Image 340
(Image legend: SF simple shader is the right box)