Hi @tomekkie2 I’m a long time happy user of your asset. Recently I ran in to an issues with the crosssection/surfaceshader/standard with vertex color on. When the light in the scene has a cookie, in my case cloud shadows from another asset, the shadows fail on the objects. They cast, but do not receive shadows. The minute I turn cookies off on the light they reappear. It is driving me nuts and it used to work and I made no changes to anything related to crossesction. In your shader wisdom, do you know what could be causing this? A unity settings, a missing fallback shader.
When I run it in the editor I can see the shader/material change just when I switch off the cookie (the geometry turns blue for a second) so something is changing, falling back etc. (sorry for my lack of shader knowledge). The shadows all work fine for crossection/standard.
Thank you very much in advance, Thomas
EDIT: Found out it started to happen when I moved to using materialPropertyBlocks for dynamic objects. I have no idea why that doesn’t work well with light cookies and shadows.