Unit CastleRendererBaseTypes

Uses
Classes, Interfaces, Objects and Records
Functions and Procedures

Description

Base types and concepts related to rendering. Independent from OpenGL, X3D and other higher-level types.

Overview

Types

TShaderType = (...);
TColorMode = (...);
TToneMapping = (...);
TGammaCorrection = (...);

Constants

ShaderTypeName: array [TShaderType] of string = ( 'Vertex', 'Geometry', 'Fragment' );

Variables

LogShadowVolumes: Boolean = false;
GammaCorrection: TGammaCorrection = gcPhysicalMaterial;
ToneMapping: TToneMapping = tmNone;

Description

Types

TShaderType = (...);

Shader types.

Values
  • stVertex
  • stGeometry
  • stFragment
TColorMode = (...);

Type of TAbstractColorNode.Mode.

Values
  • cmReplace
  • cmModulate
TToneMapping = (...);

Type of ToneMapping.

Values
TGammaCorrection = (...);

Type of GammaCorrection. See https://castle-engine.io/manual_gamma_correction.php .

Values
  • gcNone: Never do gamma correction.
  • gcPhysicalMaterial: Gamma correction only for PhysicalMaterial.
  • gcAlways: Always do gamma correction.

Constants

ShaderTypeName: array [TShaderType] of string = ( 'Vertex', 'Geometry', 'Fragment' );
 

Variables

LogShadowVolumes: Boolean = false;

Log shadow volume information. See https://castle-engine.io/manual_log.php about the log.

GammaCorrection: TGammaCorrection = gcPhysicalMaterial;

Gamma correction makes color calculation follow reality better. Use it when you desire more realistic rendering. It changes the colors, and your assets (their colors and textures) need to be prepared with this in mind. See https://castle-engine.io/manual_gamma_correction.php .

ToneMapping: TToneMapping = tmNone;

Change the colors you render, to make them visually better. See https://castle-engine.io/manual_gamma_correction.php .


Generated by PasDoc 0.15.0.