IBLUtilities
Engine/source/T3D/lighting/IBLUtilities.cpp
Public Functions
areaElement(F32 x, F32 y)
bakeReflection(String outputPath, S32 resolution)
calculateSHTerms(GFXCubemapHandle cubemap, LinearColorF SHTerms, F32 SHConstants)
GenerateAndSaveIrradianceMap(String outputPath, S32 resolution, GFXCubemapHandle cubemap, GFXCubemapHandle & cubemapOut)
GenerateAndSavePrefilterMap(String outputPath, S32 resolution, GFXCubemapHandle cubemap, U32 mipLevels, GFXCubemapHandle & cubemapOut)
GenerateIrradianceMap(GFXTextureTargetRef renderTarget, GFXCubemapHandle cubemap, GFXCubemapHandle & cubemapOut)
GeneratePrefilterMap(GFXTextureTargetRef renderTarget, GFXCubemapHandle cubemap, U32 mipLevels, GFXCubemapHandle & cubemapOut)
getSideMatrix(U32 side)
SaveCubeMap(String outputPath, GFXCubemapHandle & cubemap)
Detailed Description
Public Functions
areaElement(F32 x, F32 y)
bakeReflection(String outputPath, S32 resolution)
calculateSHTerms(GFXCubemapHandle cubemap, LinearColorF SHTerms, F32 SHConstants)
decodeSH(Point3F normal, const LinearColorF SHTerms, const F32 SHConstants)
GenerateAndSaveIrradianceMap(String outputPath, S32 resolution, GFXCubemapHandle cubemap, GFXCubemapHandle & cubemapOut)
GenerateAndSavePrefilterMap(String outputPath, S32 resolution, GFXCubemapHandle cubemap, U32 mipLevels, GFXCubemapHandle & cubemapOut)
GenerateIrradianceMap(GFXTextureTargetRef renderTarget, GFXCubemapHandle cubemap, GFXCubemapHandle & cubemapOut)
GeneratePrefilterMap(GFXTextureTargetRef renderTarget, GFXCubemapHandle cubemap, U32 mipLevels, GFXCubemapHandle & cubemapOut)
getSideMatrix(U32 side)
harmonics(U32 termId, Point3F normal)
sampleSide(GBitmap * cubeFaceBitmaps, const U32 & cubemapResolution, const U32 & termindex, const U32 & sideIndex)
SaveCubeMap(String outputPath, GFXCubemapHandle & cubemap)
texelSolidAngle(F32 aU, F32 aV, U32 width, U32 height)