How Volmetric rendering take place in unity,How to make volumetric lightening,volumetric clouds from scratch.
I have seen a lot of assets for volumetric lightening,volumetric clouds but i want to create my own,but i do not know how volumetric rendering take place(specially volumetric lights).If you have any info,resources on how it works please provide it to me,Thanks in advance :)
Answer by Namey5 · Jan 09, 2019 at 10:28 AM
Volumetric lighting is an incredibly complex topic. First you have to get your head around pure raymarching and camera effects, but also drawing and sampling from shadow-maps manually, as well as building a framework for managing every shadow-map in the scene individually so that the effect would work for more than one light. I learned the basics for volumetric lighting from this fantastic blog post;
https://interplayoflight.wordpress.com/2015/07/03/adventures-in-postprocessing-with-unity/
Which features source code snippets (as well as a downloadable finished project). It is a fantastic place to start. As for more complex implementations that involve multiple light sources, you can look at various GDC presentations on the topic for the pure maths and implementation details. Or, you can simply look at the open source Aura project;
Your answer
Follow this Question
Related Questions
Bifocal Depth of Field 0 Answers
PBR Graph Disolve effect on several objects 0 Answers
Hidden Post Fx Shader Not Working in Unity 5! 0 Answers
link GUI slider to shader opacity 0 Answers