Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::shader::CookTorranceBRDF Class Reference

#include <GlslCookTorranceBRDF.hpp>

Public Member Functions

C3D_API CookTorranceBRDF (sdw::ShaderWriter &writer, BRDFHelpers &brdf)
 
C3D_API sdw::RetVec3 computeSpecular (sdw::Vec3 const &radiance, sdw::Float const &intensity, sdw::Float const &pNdotL, sdw::Float const &pNdotH, sdw::Float const &pNdotV, sdw::Vec3 const &F, sdw::Float const &roughness)
 
C3D_API sdw::RetVec3 computeDiffuse (sdw::Vec3 const &radiance, sdw::Float const &intensity, sdw::Vec3 const &F)
 

Constructor & Destructor Documentation

◆ CookTorranceBRDF()

C3D_API castor3d::shader::CookTorranceBRDF::CookTorranceBRDF ( sdw::ShaderWriter & writer,
BRDFHelpers & brdf )
explicit

Member Function Documentation

◆ computeDiffuse()

C3D_API sdw::RetVec3 castor3d::shader::CookTorranceBRDF::computeDiffuse ( sdw::Vec3 const & radiance,
sdw::Float const & intensity,
sdw::Vec3 const & F )

◆ computeSpecular()

C3D_API sdw::RetVec3 castor3d::shader::CookTorranceBRDF::computeSpecular ( sdw::Vec3 const & radiance,
sdw::Float const & intensity,
sdw::Float const & pNdotL,
sdw::Float const & pNdotH,
sdw::Float const & pNdotV,
sdw::Vec3 const & F,
sdw::Float const & roughness )

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