Hi, I'm able to get the fog to work but it doesn't seem to react to a direct light. Is there something other than the display settings that need to be changed?
Thanks!
How to get God rays with the viewport volumetric fog
2575 4 0- decksounds
- Member
- 109 posts
- Joined: 3月 2017
- Offline
- malexander
- スタッフ
- 5161 posts
- Joined: 7月 2005
- Offline
Distant lights aren't currently lighting the volumetric fog. To shadow properly they need cascading shadowmaps which haven't been implemented yet. Without shadowing the effect is pretty much DOA. I'm hoping to have implemented on an upcoming production build.
Instead, you can place a point light with no falloff attention a long way off from your scene.
Instead, you can place a point light with no falloff attention a long way off from your scene.
- jsmack
- Member
- 7801 posts
- Joined: 9月 2011
- Offline
twod
Distant lights aren't currently lighting the volumetric fog. To shadow properly they need cascading shadowmaps which haven't been implemented yet. Without shadowing the effect is pretty much DOA. I'm hoping to have implemented on an upcoming production build.
Instead, you can place a point light with no falloff attention a long way off from your scene.
do you need to mess with the fov to get a shadowmap of good enough resolution?
- decksounds
- Member
- 109 posts
- Joined: 3月 2017
- Offline
twod
Distant lights aren't currently lighting the volumetric fog. To shadow properly they need cascading shadowmaps which haven't been implemented yet. Without shadowing the effect is pretty much DOA. I'm hoping to have implemented on an upcoming production build.
Instead, you can place a point light with no falloff attention a long way off from your scene.
Thanks a ton for letting me know! Cool stuff!
Edited by decksounds - 2020年10月25日 01:56:00
- malexander
- スタッフ
- 5161 posts
- Joined: 7月 2005
- Offline
jsmacktwod
Distant lights aren't currently lighting the volumetric fog. To shadow properly they need cascading shadowmaps which haven't been implemented yet. Without shadowing the effect is pretty much DOA. I'm hoping to have implemented on an upcoming production build.
Instead, you can place a point light with no falloff attention a long way off from your scene.
do you need to mess with the fov to get a shadowmap of good enough resolution?
Yep, a spotlight somewhat tightly bound to the scene helps with the resolution of the rays. That's what you're seeing in the video of god rays in the 18.5 keynote.
-
- Quick Links