Gorilla.Controller.Passes.Refraction
Unit Gorilla.Controller.Passes.Refraction.pasClasses
- TGorillaRenderPassRefraction = class ( TGorillaRenderPassController )
TGorillaRenderPassRefraction
Ancestors
Members
Fields
- protected FClippingEnabled :
Boolean
- protected FSurfacePosition :
TPoint3D
- protected FSurfaceNormal :
TPoint3D
- protected FSurfaceCutOff :
Single
Methods
- public constructor Create ( AOwner : TComponent; const AId : string = Refraction ) ;
- public destructor Destroy ( ) ;
- protected function CreateMaterialSource ( ) : TGorillaRenderPassMaterialSource ; override;
- protected function GetOutputDepthTexture ( ) : TTexture ; virtual;
- 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 procedure SetupMatrices ( ) ; virtual;
- protected procedure DefineProperties ( Filer : TFiler ) ; override;
- protected procedure ReadSurfacePosition ( Reader : TReader ) ;
- protected procedure WriteSurfacePosition ( Writer : TWriter ) ;
- protected procedure ReadSurfaceNormal ( Reader : TReader ) ;
- protected procedure WriteSurfaceNormal ( Writer : TWriter ) ;
- public procedure AfterConstruction ( ) ; override;
- public function GetOutputTexture ( ) : TTexture ; override;
- public function GetTextureMatrix ( AContext : TContext3D; const AUseBias : Boolean = False ) : TMatrix3D ; override;
Properties
- public OutputDepthTexture : TTexture
- published SurfacePosition : TPoint3D
Get or set position of refraction clipping surface. This value is stored as "SurfacePositionPoint" in DFM!
read FSurfacePosition
write FSurfacePosition - published SurfaceNormal : TPoint3D
Get or set normal vector of refraction clipping surface. This value is stored as "SurfaceNormalVector" in DFM!
read FSurfaceNormal
write FSurfaceNormal - published SurfaceCutOff : Single
Get or set an additional offset for cutting off above the surface normal.
read FSurfaceCutOff
write FSurfaceCutOff - published ClippingEnabled : Boolean