C# Class Myre.Graphics.Translucency.DeferredTransparency

Inheritance: RendererComponent
Show file Open project: martindevans/Myre

Public Methods

Method Description
DeferredTransparency ( ) : System.Collections.Generic
Draw ( Renderer renderer ) : void
Initialise ( Renderer renderer, ResourceContext context ) : void

Private Methods

Method Description
BlendTransparencies ( Renderer renderer, List geometry, Texture gbufferNormals, RenderTarget2D transparencyLightbuffer, RenderTarget2D lightbuffer ) : void

Blend the lightbuffer resulting from transparency into the primary scene lightbuffer

ClearGBuffer ( Renderer renderer, RenderTarget2D normals, RenderTarget2D diffuse ) : void
PerformLightingPass ( Renderer renderer, RenderTarget2D depth, RenderTarget2D normals, RenderTarget2D diffuse ) : RenderTarget2D

Method Details

DeferredTransparency() public method

public DeferredTransparency ( ) : System.Collections.Generic
return System.Collections.Generic

Draw() public method

public Draw ( Renderer renderer ) : void
renderer Renderer
return void

Initialise() public method

public Initialise ( Renderer renderer, ResourceContext context ) : void
renderer Renderer
context ResourceContext
return void