Volumetric Fog and Fake Lights
- ダウンロード商品¥ 0
A shader for Unity that adds fake lighting and volumetric fog to the area they cover. The fog can be used to add depth to any 3D scene. They support Unity instancing, so multiple can be instanced together into one draw call. To install, place the Shader/ folder with the shader into your Assets/ directory. Licensed under the MIT license. https://gitlab.com/s-ilent/fake-lights For support or feedback, you can join the Discord. https://discord.gg/uHJx4g629K
Usage
Provided in this package are: - The main Volumetric Fake Lights shader. - An inverted icosphere mesh, used to render the lights. - A sample prefab and material for a single fake light. - A sample material for a particle system. If not using the prefab, drag the icosphere into your scene and assign it a material with one of the Fake Light shaders. Note that, like other shaders which depend on the depth buffer, you'll need a directional light or other depth buffer activator (like disabled depth of field) to see the effect properly. For best batching results, give each material a different render queue. Materials on the same queue render in order of their distance from the camera. Unity will not instance them if they aren't rendered in groups of the same material.