vsg::vec3CHLinear Class Reference

Description

Chrono color, authored in sRGB, converted to the linear RGB in which the VSG shaders compute lighting.

Use for colors consumed as-is (material factors, clear color, text, VSG builder geometry). Vertex colors passed to the Chrono PBR and line shaders are converted in the shaders and must not be converted here.

#include <ChDataUtilsVSG.h>

Inherits vec3.

Public Member Functions

 vec3CHLinear (const chrono::ChColor &col)
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono_vsg/utils/ChDataUtilsVSG.h
  • /builds/uwsbel/chrono/src/chrono_vsg/utils/ChDataUtilsVSG.cpp