All Projects → Scrawk → Brunetons Improved Atmospheric Scattering

Scrawk / Brunetons Improved Atmospheric Scattering

Licence: bsd-3-clause
A Unity port of Brunetons improved atmospheric scattering

Labels

Projects that are alternatives of or similar to Brunetons Improved Atmospheric Scattering

Dq Skinning For Unity
Stars: ✭ 93 (-63.24%)
Mutual labels:  unity, hlsl
Computestochasticreflections
Compute Stochastic Screen Space Reflections for unity post processing
Stars: ✭ 163 (-35.57%)
Mutual labels:  unity, hlsl
Proccharvfx
Procedural character generation with Unity Shader Graph and VFX Graph
Stars: ✭ 114 (-54.94%)
Mutual labels:  unity, hlsl
3d Game Shaders For Beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Stars: ✭ 11,698 (+4523.72%)
Mutual labels:  unity, hlsl
Face Nn
游戏捏脸,基于神经风格迁移框架生成逼真人脸
Stars: ✭ 192 (-24.11%)
Mutual labels:  unity, hlsl
Pbr proj
Shader of PBR for Unity
Stars: ✭ 68 (-73.12%)
Mutual labels:  unity, hlsl
Unityurptoonlitshaderexample
A very simple toon lit shader example, for you to learn writing custom lit shader in Unity URP
Stars: ✭ 2,988 (+1081.03%)
Mutual labels:  unity, hlsl
Museum
Live coding rig for Channel 18 at SuperDeluxe
Stars: ✭ 30 (-88.14%)
Mutual labels:  unity, hlsl
Alloy
Alloy physical shader framework for Unity.
Stars: ✭ 244 (-3.56%)
Mutual labels:  unity, hlsl
Unityanime4k
Anime4K upscaler for Unity
Stars: ✭ 183 (-27.67%)
Mutual labels:  unity, hlsl
Nnao
Neural Network Ambien Occlusion based on http://theorangeduck.com/page/neural-network-ambient-occlusion
Stars: ✭ 57 (-77.47%)
Mutual labels:  unity, hlsl
Universalshaderexamples
Sand box project containing example shaders and assets compatible with Unity Universal Render Pipeline.
Stars: ✭ 207 (-18.18%)
Mutual labels:  unity, hlsl
Particlecloudvrc
Interactable shader-based particle system for VRChat/Unity
Stars: ✭ 38 (-84.98%)
Mutual labels:  unity, hlsl
Gpu Planetary Rendering
GPU atmosphertic scattering and planet generation in Unity 3D
Stars: ✭ 92 (-63.64%)
Mutual labels:  unity, hlsl
Computeshader Unity Macos
Stars: ✭ 31 (-87.75%)
Mutual labels:  unity, hlsl
Unity Raymarching Framework
A framework to easy implement raymarching in unity. Include lots of hash,noise,fbm,SDF,rotate functions
Stars: ✭ 129 (-49.01%)
Mutual labels:  unity, hlsl
Uraymarching
Raymarching Shader Generator in Unity
Stars: ✭ 793 (+213.44%)
Mutual labels:  unity, hlsl
Unity3d Cg Programming
Various shaders.
Stars: ✭ 800 (+216.21%)
Mutual labels:  unity, hlsl
Bloodfx
Procedural blood stain shader
Stars: ✭ 170 (-32.81%)
Mutual labels:  unity, hlsl
Unity Shaders
✨ Shader demo - More than 300 examples
Stars: ✭ 198 (-21.74%)
Mutual labels:  unity, hlsl

Brunetons-Improved-Atmospheric-Scattering

This is a port to Unity of a updated and improved version of Brunetons atmospheric scatter published in 2017. The original was published in 2008 so is a bit old now.

The new version contains the follow improvements.

  • More descriptive function and variable names and extensive comments.

  • Improved texture coordinate mapping which removes the horizon artifact in the previous version.

  • Provides a option to store the single Mie scatter in the alpha channel (Rayleigh is in the rgb) or in the rgb of a separate texture.

  • Provides a example of how to combine with light shafts.

  • Converts the spectral radiance values to RGB luminance values as described in A Qualitative and Quantitative Evaluation of 8 Clear Sky Models (section 14.3)

  • Or precomputes luminance values instead of spectral radiance values, as described in Real-time Spectral Scattering in Large-scale Natural Participating Media (section 4.4). The precomputation phase is then slower than with the above option, but uses the same amount of GPU memory.

  • Adds support for the ozone layer, and for custom density profiles for air molecules and aerosols.

The demo uses a image effect shader as a example of how to use the scattering. The sphere rendered and its light shafts are hard coded into the shader as its just a example. Some work would be needed to convert this into a practical implementation

AtmosphericScatter0

AtmosphericScatter1

AtmosphericScatter2

AtmosphericScatter3

AtmosphericScatter4

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].