DoopelPonger
|
Applies the bloom shader to the camera. The bloom effect is split into 3 shaders. 1) Find the brightest objects on the screen and render them. 2) Blur the above rendered image 3) Add the blurred, bright image to the camera. More...
Public Member Functions | |
void | Awake () |
Initialize images to render to for the shaders. More... | |
Public Attributes | |
Material | brightnessFilter |
Material | blurMaterial |
Material | bloomMaterial |
int | numberOfBlurPasses |
Applies the bloom shader to the camera. The bloom effect is split into 3 shaders. 1) Find the brightest objects on the screen and render them. 2) Blur the above rendered image 3) Add the blurred, bright image to the camera.
void Bloom.Awake | ( | ) |
Initialize images to render to for the shaders.
Material Bloom.bloomMaterial |
Shader to add an image on top of the camera.
Material Bloom.blurMaterial |
Shader to blur an image.
Material Bloom.brightnessFilter |
Shader to only render the bright objects.
int Bloom.numberOfBlurPasses |
How blurred the image should be.