Gorilla.Material.RimLighting
Unit Gorilla.Material.RimLighting.pasClasses
- TGorillaRimLightingMaterial = class ( TGorillaDefaultMaterial )
- TGorillaRimLightingMaterialSource = class ( TGorillaDefaultMaterialSource )
TGorillaRimLightingMaterial
This shader uses the difference between the view direction and the polygon surface normal to add additional color offset to the surface.
Remarks
Source-Code orientation on: https://shadowmint.gitbooks.io/unity-material-shaders/content/shaders/surface/rim_lighting.htmlAncestors
Members
Fields
Methods
- public constructor Create ( const ASource : TGorillaDefaultMaterialSource ) ;
- public destructor Destroy ( ) ;
- protected procedure SetRim ( const AValue : Single ) ; virtual;
- protected procedure DoApply ( const Context : TContext3D ) ; override;
- protected procedure DoCreateVertexShader ( ) ; override;
- protected procedure DoCreateFragmentShader ( ) ; override;
- protected procedure DoSetupFragmentShader ( ) ; override;
Properties
TGorillaRimLightingMaterialSource
This shader uses the difference between the view direction and the polygon surface normal to add additional color offset to the surface.
Remarks
Source-Code orientation on: https://shadowmint.gitbooks.io/unity-material-shaders/content/shaders/surface/rim_lighting.htmlAncestors
Members
Methods
- public constructor Create ( AOwner : TComponent ) ;
- public destructor Destroy ( ) ;
- protected function CreateMaterial ( ) : TMaterial ; override;
- protected function GetRim ( ) : Single ; virtual;
- protected procedure SetRim ( const AValue : Single ) ; virtual;
- protected function GetRimColorF ( ) : TAlphaColorF ; virtual;
- protected procedure SetRimColorF ( const AValue : TAlphaColorF ) ; virtual;
- protected function GetRimColor ( ) : TAlphaColor ; virtual;
- protected procedure SetRimColor ( const AValue : TAlphaColor ) ; virtual;
Properties
- public RimColorF : TAlphaColorF
- published UseLighting : Boolean
- published UseSpecular : Boolean
- published UseTexturing : Boolean
- published UseTexture0 : Boolean
- published UseVertexColor : Boolean
- published UseColorClipping : Boolean
- published Texture : TBitmap
- published ShadingModel : TGorillaShadingModel
- published Diffuse : TAlphaColor
- published Emissive : TAlphaColor
- published Ambient : TAlphaColor
- published Specular : TAlphaColor
- published Shininess : Single
- published ClippingColor : TAlphaColor
- published NearLimit : Single
- published FarLimit : Single
- published Shadows : Boolean
- published ShadowMethod : TGorillaShadowMethod
- published DepthPass : TGorillaRenderPassController
- published Reflections : Boolean
- published ReflectionPass : TGorillaRenderPassController
- published ReflectionPower : Single
- published Refractions : Boolean
- published RefractionPass : TGorillaRenderPassController
- published RefractionPower : Single
- published Bitmaps : TGorillaBitmapPool
- published Rim : Single
- published RimColor : TAlphaColor