AbstractConstructs a new fullscreen shader material.
Optionalparameters: ShaderMaterialParametersProtectedfarThe current camera far plane value.
ProtectednearThe current camera near plane value.
Copies the settings of the given camera.
Updates the camera-related uniforms and macros.
A camera.
Updates the resolution uniform (XY = resolution, ZW = texelSize).
The width.
The height.
A fullscreen shader material.
This material provides the following commonly used uniforms:
mat4projectionMatrixmat4projectionMatrixInversemat4viewMatrixmat4viewMatrixInversevec3cameraParamsvec4resolutionsampler2DinputBufferUses GLSL3 by default.
See