Method RenderSky
RenderSky(BuiltinSkyParameters, bool, bool)
Implements actual rendering of the sky. HDRP calls this when rendering the sky into a cubemap (for lighting) and also during main frame rendering.
Declaration
public abstract void RenderSky(BuiltinSkyParameters builtinParams, bool renderForCubemap, bool renderSunDisk)
Parameters
Type | Name | Description |
---|---|---|
BuiltinSkyParameters | builtinParams | Engine parameters that you can use to render the sky. |
bool | renderForCubemap | Pass in true if you want to render the sky into a cubemap for lighting. This is useful when the sky renderer needs a different implementation in this case. |
bool | renderSunDisk | If the sky renderer supports the rendering of a sun disk, it must not render it if this is set to false. |