프로퍼티 | 타입 | 설명 | |
---|---|---|---|
diffuseRT | RenderTexture | ||
enableDebugBufferRender | bool | ||
lightRT | RenderTexture | ||
normalRT | RenderTexture | ||
renderLayers | int[] |
메소드 | 설명 | |
---|---|---|
DeferredLightingRenderer ( int renderOrder, int lightLayer ) : System | ||
onSceneBackBufferSizeChanged ( int newWidth, int newHeight ) : void | ||
render ( Scene scene ) : void |
we override render completely here so we can do our thing with multiple render targets
|
|
setAmbientColor ( Color color ) : DeferredLightingRenderer |
ambient lighting color. Alpha is ignored
|
|
setClearColor ( Color color ) : DeferredLightingRenderer |
clear color for the diffuse portion of the gbuffer
|
|
unload ( ) : void |
메소드 | 설명 | |
---|---|---|
debugRender ( Scene scene, Camera cam ) : void |
메소드 | 설명 | |
---|---|---|
clearRenderTargets ( ) : void | ||
renderAllBuffers ( Scene scene ) : void | ||
renderFinalCombine ( Scene scene ) : void | ||
renderLight ( AreaLight light ) : void | ||
renderLight ( DeferredLight light ) : void | ||
renderLight ( DirLight light ) : void | ||
renderLight ( PointLight light ) : void | ||
renderLight ( SpotLight light ) : void | ||
renderLights ( Scene scene ) : void | ||
renderSprites ( Scene scene ) : void |
public DeferredLightingRenderer ( int renderOrder, int lightLayer ) : System | ||
renderOrder | int | |
lightLayer | int | |
리턴 | System |
protected debugRender ( Scene scene, Camera cam ) : void | ||
scene | Scene | |
cam | Camera | |
리턴 | void |
public onSceneBackBufferSizeChanged ( int newWidth, int newHeight ) : void | ||
newWidth | int | |
newHeight | int | |
리턴 | void |
public setAmbientColor ( Color color ) : DeferredLightingRenderer | ||
color | Color | Color. |
리턴 | DeferredLightingRenderer |
public setClearColor ( Color color ) : DeferredLightingRenderer | ||
color | Color | Color. |
리턴 | DeferredLightingRenderer |