Gorilla.Controller.Passes.Deferred.Composite
Unit Gorilla.Controller.Passes.Deferred.Composite.pasClasses
- TDeferredCompositeMaterial = class ( TGorillaRenderPassMaterial )
- TDeferredCompositeMaterialSource = class ( TGorillaRenderPassMaterialSource )
- TGorillaRenderPassDeferredComposite = class ( TGorillaRenderPassController )
TDeferredCompositeMaterial
Ancestors
Members
Fields
- protected FAlbedoTexture :
TTexture
- protected FTranslucentAlbedoTexture :
TTexture
- protected FAlphaTexture :
TTexture
- protected FPositionTexture :
TTexture
- protected FNormalsTexture :
TTexture
- protected FSaturation :
TPoint3D
Methods
- public constructor Create ( const ASource : TDeferredCompositeMaterialSource ) ;
- public destructor Destroy ( ) ;
- protected procedure DoApply ( const Context : TContext3D ) ; override;
- protected procedure DoInitialize ( ) ; override;
- protected procedure SetAlbedoTexture ( const Value : TTexture ) ; virtual;
- protected procedure SetTranslucentAlbedoTexture ( const Value : TTexture ) ; virtual;
- protected procedure SetAlphaTexture ( const Value : TTexture ) ; virtual;
- protected procedure SetPositionTexture ( const Value : TTexture ) ; virtual;
- protected procedure SetNormalsTexture ( const Value : TTexture ) ; virtual;
Properties
- public AlbedoTexture : TTexture
- public TranslucentAlbedoTexture : TTexture
- public AlphaTexture : TTexture
- public PositionTexture : TTexture
- public NormalsTexture : TTexture
- public Saturation : TPoint3D
Get or set saturation values applied while color merging. The 3D vector property contains of 3 parts for opaque, translucent and composite saturation. This allows you to fully control each part of the rendering. If value is zero no saturation algorithm will be applied to the specific part.
read FSaturation
write FSaturation
TDeferredCompositeMaterialSource
Ancestors
Members
TGorillaRenderPassDeferredComposite
Ancestors
Members
Methods
- public constructor Create ( AOwner : TComponent; const AId : string = DeferredComposite ) ;
- public destructor Destroy ( ) ;
- protected procedure DoCreateRenderer ( ) ; override;
- protected function GetAlbedoTexture ( ) : TTexture ;
- protected procedure SetAlbedoTexture ( AValue : TTexture ) ;
- protected function GetTranslucentAlbedoTexture ( ) : TTexture ;
- protected procedure SetTranslucentAlbedoTexture ( AValue : TTexture ) ;
- protected function GetAlphaTexture ( ) : TTexture ;
- protected procedure SetAlphaTexture ( AValue : TTexture ) ;
- protected function GetPositionTexture ( ) : TTexture ;
- protected procedure SetPositionTexture ( AValue : TTexture ) ;
- protected function GetNormalsTexture ( ) : TTexture ;
- protected procedure SetNormalsTexture ( AValue : TTexture ) ;
- protected function GetSaturation ( ) : TPoint3D ;
- protected procedure SetSaturation ( const AValue : TPoint3D ) ;
- protected procedure DoSetupTexturesByViewport ( const AContext : TContext3D; const AWidth : Integer; const AHeight : Integer ) ; override;
- protected procedure DoOnBeginRenderPassSetup ( const ACount : Integer; const APass : TRenderPass ) ; override;
- protected procedure DoOnEndRenderPassSetup ( const ACount : Integer; const APass : TRenderPass ) ; override;
- protected function CreateMaterialSource ( ) : TGorillaRenderPassMaterialSource ; override;
- public procedure AfterConstruction ( ) ; override;
- public function IsInternalRenderPass ( ) : Boolean ; class override;
- public function GetOutputTexture ( ) : TTexture ; override;
Properties
- published Albedo : TTexture
- published TranslucentAlbedo : TTexture
- published Alpha : TTexture
- published Position : TTexture
- published Normals : TTexture
- published Saturation : TPoint3D
Get or set saturation values applied while color merging. The 3D vector property contains of 3 parts for opaque, translucent and composite saturation. This allows you to fully control each part of the rendering. If value is zero no saturation algorithm will be applied to the specific part.
read GetSaturation
write SetSaturation