Constructs a new god rays effect.
The options.
The blend mode of this effect.
A blur pass that reduces aliasing artifacts and makes the light softer.
This pass can be disabled to improve performance.
Preprocessor macro definitions.
Call Effect.setChanged after changing macro definitions.
WebGL extensions that are required by this effect.
Call Effect.setChanged after adding or removing extensions.
The name of this effect.
The renderer.
Shader uniforms.
Call Effect.setChanged after adding or removing uniforms.
Indicates whether the god rays should be blurred to reduce artifacts.
The depth mask material.
Indicates whether dithering is enabled.
The internal god rays material.
The current height of the internal render targets.
The input color space.
The input color space.
The blur kernel size.
Sets the light source.
Sets the light source.
Sets the main camera.
Sets the main scene.
The output color space.
Should only be changed if this effect converts the input colors to a different color space.
The output color space.
Should only be changed if this effect converts the input colors to a different color space.
The resolution of this effect.
The number of samples per pixel.
A higher sample count improves quality at the cost of performance.
A texture that contains the intermediate result of this effect.
The current width of the internal render targets.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Fire an event type.
The event that gets fired.
Performs a shallow search for properties that define a dispose method and deletes them.
The EffectComposer calls this method when it is being destroyed.
Returns the effect attributes.
The attributes.
Returns the blend mode.
The result of this effect will be blended with the result of the previous effect using this blend mode.
The blend mode.
Returns the blur pass that reduces aliasing artifacts and makes the light softer.
The blur pass.
Returns the preprocessor macro definitions.
The extensions.
Returns the WebGL extensions that are required by this effect.
The extensions.
Returns the fragment shader.
The fragment shader.
Returns the god rays material.
The material.
Returns the name of this effect.
The name.
Returns the resolution of this effect.
The material.
Returns the current resolution scale.
The resolution scale.
Returns the god rays texture.
The texture.
Returns the uniforms of this effect.
The extensions.
Returns the vertex shader.
The vertex shader.
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Performs initialization tasks.
The renderer.
Whether the renderer uses the alpha channel or not.
The type of the main frame buffers.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Sets the effect attributes.
Effects that have the same attributes will be executed in the order in which they were registered. Some attributes imply a higher priority.
The attributes.
Informs the associated {@link EffectPass} that this effect requires a shader recompilation.
Should be called after changing macros or extensions and after adding/removing uniforms.
Sets the depth texture.
A depth texture.
Sets the fragment shader.
The fragment shader.
Sets the renderer.
The renderer.
Sets the resolution scale.
The new resolution scale.
Updates the size of internal render targets.
The width.
The height.
Sets the vertex shader.
The vertex shader.
Updates this effect.
The renderer.
A frame buffer that contains the result of the previous pass.
A god rays effect.