guycalledfrank / bakery-issues

Bug tracker for Bakery
4 stars 0 forks source link

texture projection isn't baked inside volumes #91

Open laurentopia opened 3 years ago

laurentopia commented 3 years ago

i was wondering why objects didn't have that cool cloudy lighting volumes don't bake those texture projections would be nice if it did :)

image

image

guycalledfrank commented 3 years ago

Hmmm seems to work for me. Maybe your volume is in indirect-only mode? It should be either in full lighting or you should use volumetric shadowmask. Indirect data doesn't contain direct shadows (including projection shadows)

image

laurentopia commented 3 years ago

you mean this? it's in full lighting image what are volumetric shadowmasks? and what's the fastest?

guycalledfrank commented 3 years ago

Yes, this. "Volumetric shadowmasks" are just shadowmasks (direct shadow only) baked into an additional volume. It is only performed in Shadowmask mode. In your case it should work normally... maybe the volume is too low-res?

laurentopia commented 3 years ago

i found out that some times the volume is scaled down/shader sees it at the wrong scale

minhdaubu commented 1 year ago

anyone know how to make volumetric shadowmasks work with normal light (point light, spotlight...)?

guycalledfrank commented 1 year ago

anyone know how to make volumetric shadowmasks work with normal light (point light, spotlight...)?

Make sure you're using a shader that supports them. I didn't manage to make it work for URP/HDRP, but on standard pipeline, it should just work with my Bakery shader.

minhdaubu commented 1 year ago

Vào CN, 9 thg 7, 2023 lúc 02:37 Mr F @.***> đã viết:

anyone know how to make volumetric shadowmasks work with normal light (point light, spotlight...)?

Make sure you're using a shader that supports them. I didn't manage to make it work for URP/HDRP, but on standard pipeline, it should just work with my Bakery shader.

— Reply to this email directly, view it on GitHub https://github.com/guycalledfrank/bakery-issues/issues/91#issuecomment-1627474739, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFY5Q3UECOGHRCJQKJCBC4LXPGZIFANCNFSM43FPIQ7A . You are receiving this because you commented.Message ID: @.***>

Unlucky that i work on HDRP :(