|
C3D_API | Lights (Engine const &engine, LightingModelID lightingModelId, BackgroundModelID backgroundModelId, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles, bool enableVolumetric) |
|
C3D_API | Lights (Engine const &engine, LightingModelID lightingModelId, BackgroundModelID backgroundModelId, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles, uint32_t lightsBufBinding, uint32_t lightsBufSet, uint32_t &shadowMapBinding, uint32_t shadowMapSet, bool enableVolumetric) |
|
C3D_API | Lights (Engine const &engine, LightingModelID lightingModelId, BackgroundModelID backgroundModelId, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles, LightType lightType, uint32_t lightsBufBinding, uint32_t lightsBufSet, uint32_t &shadowMapBinding, uint32_t shadowMapSet, bool enableVolumetric) |
|
| Lights (Engine const &engine, LightingModelID lightingModelId, BackgroundModelID backgroundModelId, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles) |
|
| Lights (Engine const &engine, LightingModelID lightingModelId, BackgroundModelID backgroundModelId, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles, uint32_t lightsBufBinding, uint32_t lightsBufSet, uint32_t &shadowMapBinding, uint32_t shadowMapSet) |
|
| Lights (Engine const &engine, LightingModelID lightingModelId, BackgroundModelID backgroundModelId, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles, LightType lightType, uint32_t lightsBufBinding, uint32_t lightsBufSet, uint32_t &shadowMapBinding, uint32_t shadowMapSet) |
|
| Lights (Engine const &engine, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles, bool enableVolumetric) |
|
| Lights (Engine const &engine, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles, uint32_t lightsBufBinding, uint32_t lightsBufSet, uint32_t &shadowMapBinding, uint32_t shadowMapSet, bool enableVolumetric) |
|
| Lights (Engine const &engine, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles, LightType lightType, uint32_t lightsBufBinding, uint32_t lightsBufSet, uint32_t &shadowMapBinding, uint32_t shadowMapSet, bool enableVolumetric) |
|
| Lights (Engine const &engine, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles) |
|
| Lights (Engine const &engine, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles, uint32_t lightsBufBinding, uint32_t lightsBufSet, uint32_t &shadowMapBinding, uint32_t shadowMapSet) |
|
| Lights (Engine const &engine, Materials const &materials, BRDFHelpers &brdf, Utils &utils, ShadowOptions shadowOptions, SssProfiles const *sssProfiles, LightType lightType, uint32_t lightsBufBinding, uint32_t lightsBufSet, uint32_t &shadowMapBinding, uint32_t shadowMapSet) |
|
|
Clustered Lighting, all paths
|
C3D_API void | computeCombinedDifSpec (ClusteredLights &clusteredLights, BlendComponents const &components, BackgroundModel &backgroundModel, LightSurface const &lightSurface, sdw::UInt const receivesShadows, sdw::Vec2 const screenPosition, sdw::Float const viewDepth, DebugOutput &debugOutput, DirectLighting &output) |
|
C3D_API void | computeCombinedAllButDif (ClusteredLights &clusteredLights, BlendComponents const &components, BackgroundModel &backgroundModel, LightSurface const &lightSurface, sdw::UInt const receivesShadows, sdw::Vec2 const screenPosition, sdw::Float const viewDepth, sdw::Vec3 const diffuse, DebugOutput &debugOutput, DirectLighting &output) |
|
C3D_API void | computeCombinedDif (ClusteredLights &clusteredLights, BlendComponents const &components, BackgroundModel &backgroundModel, LightSurface const &lightSurface, sdw::UInt const receivesShadows, sdw::Vec2 const screenPosition, sdw::Float const viewDepth, DebugOutput &debugOutput, sdw::Vec3 &output) |
|
|
Non clustered, all paths.
|
C3D_API void | computeCombinedDifSpec (BlendComponents const &components, BackgroundModel &backgroundModel, LightSurface const &lightSurface, sdw::UInt const receivesShadows, DebugOutput &debugOutput, DirectLighting &output) |
|
C3D_API void | computeCombinedAllButDif (BlendComponents const &components, BackgroundModel &backgroundModel, LightSurface const &lightSurface, sdw::UInt const receivesShadows, sdw::Vec3 const diffuse, DebugOutput &debugOutput, DirectLighting &output) |
|
C3D_API void | computeCombinedDif (BlendComponents const &components, BackgroundModel &backgroundModel, LightSurface const &lightSurface, sdw::UInt const &receivesShadows, DebugOutput &debugOutput, sdw::Vec3 &output) |
|
|
|
C3D_API sdw::Vec3 | computeSssTransmittance (DebugOutput &debugOutput, BlendComponents const &components, DirectionalLight const &directionalLight, DirectionalShadowData const &directionalShadows, LightSurface const &lightSurface) |
|
C3D_API sdw::Vec3 | computeSssTransmittance (DebugOutput &debugOutput, BlendComponents const &components, PointLight const &pointLight, PointShadowData const &pointShadows, LightSurface const &lightSurface) |
|
C3D_API sdw::Vec3 | computeSssTransmittance (DebugOutput &debugOutput, BlendComponents const &components, SpotLight const &spotLight, SpotShadowData const &spotShadows, LightSurface const &lightSurface) |
|
|
|
C3D_API bool | hasIblSupport () |
|
C3D_API LightingModel * | getLightingModel () |
|
Light accessors
|
C3D_API DirectionalLight | retrieveDirectionalLight (sdw::UInt const &index) |
|
C3D_API PointLight | retrievePointLight (sdw::UInt const &index) |
|
C3D_API SpotLight | retrieveSpotLight (sdw::UInt const &index) |
|
C3D_API DirectionalLight | getDirectionalLight (sdw::UInt const &offset) |
|
C3D_API PointLight | getPointLight (sdw::UInt const &offset) |
|
C3D_API SpotLight | getSpotLight (sdw::UInt const &offset) |
|
C3D_API sdw::Vec3 | getCascadeFactors (DirectionalShadowData const light, sdw::Vec3 viewVertex, sdw::UInt maxCascadeCount) |
|
Shadow & | getShadowModel () const noexcept |
|
sdw::UInt | getDirectionalsEnd () const |
|
sdw::UInt | getPointsEnd () const |
|
sdw::UInt | getSpotsEnd () const |
|
sdw::UInt | getClusteredGridScale () const noexcept |
|
bool | hasSssTransmittance () const noexcept |
|