Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
constant_textures.h File Reference
#include "Core/Texture/TTexture.h"
#include "Math/Color/color_enums.h"
#include "Math/Color/color_basics.h"
#include "Math/Color/Spectrum.h"
#include "Core/Texture/SampleLocation.h"
#include <Common/assertion.h>
#include <utility>

Go to the source code of this file.

Classes

class  ph::TConstantTexture< OutputType >
 Texture storing one single constant of arbitrary type. This texture provides only a constant value. Input color usages are ignored. For color-related constants, consider using TConstantTristimulusTexture or TConstantSpectralTexture; otherwise, it is recommended to bake color-related side effects (e.g., color usages) into the constant. More...
 
class  ph::TConstantTristimulusTexture< COLOR_SPACE >
 A constant color texture that can adapt values in tristimulus color space to spectrum. Converts tristimulus values to spectrum based on parameters obtained during rendering. More...
 
class  ph::TConstantSpectralTexture< COLOR_SPACE >
 A constant color texture that can adapt spectral values to spectrum. Converts spectral values to spectrum based on parameters obtained during rendering. More...
 

Namespaces

namespace  ph
 The root for all renderer implementations.