UnityURP-MobileDrawMeshInstancedIndirectExample icon indicating copy to clipboard operation
UnityURP-MobileDrawMeshInstancedIndirectExample copied to clipboard

light probe or Bakery volume lighting?

Open laurentopia opened this issue 4 years ago • 1 comments

It seems that you use vertex lighting for your grass, that might explain why this is so fast. Can this be done in a shader graph? I'm asking because I'd like to add volume lighting and I haven't the faintest idea how to convert such complex graph to vertex shader. https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Volume image

laurentopia avatar Dec 04 '20 04:12 laurentopia

Can this be done in a shader graph? -> yes, the grass shader didn't use any advanced feature, but maybe you still need a custom node to access global array and light data).

ColinLeung-NiloCat avatar Dec 04 '20 13:12 ColinLeung-NiloCat