Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::PreethamTexture Class Reference

#include <PreethamTexture.h>

Inheritance diagram for ph::PreethamTexture:
ph::TTexture< math::Spectrum >

Public Member Functions

 PreethamTexture (real phiSun, real thetaSun, real turbidity, real energyScale=1.0_r)
 
void sample (const SampleLocation &sampleLocation, math::Spectrum *out_value) const override
 
- Public Member Functions inherited from ph::TTexture< math::Spectrum >
 TTexture ()=default
 
virtual ~TTexture ()=default
 

Additional Inherited Members

- Public Types inherited from ph::TTexture< math::Spectrum >
using Output
 

Constructor & Destructor Documentation

◆ PreethamTexture()

ph::PreethamTexture::PreethamTexture ( real phiSun,
real thetaSun,
real turbidity,
real energyScale = 1.0_r )

Member Function Documentation

◆ sample()

void ph::PreethamTexture::sample ( const SampleLocation & sampleLocation,
math::Spectrum * out_value ) const
overridevirtual

The documentation for this class was generated from the following files: