Precompiled specular lighting projections with a shared storage parameter layout. More...
#include "donner/gpu/shader/CompiledShader.h"#include "donner/gpu/shader/programs/LightingParams.h"Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| const CompiledShaderView & | donner::gpu::shader::programs::SpecularLightingShader () |
| Returns WGSL and reflection for distant, point and spot Phong lighting. The shader reconstructs normals from bounded alpha samples and uses maximum RGB as alpha. | |
| const CompiledShaderView & | donner::gpu::shader::programs::SpecularLightingNativeShader () |
| Returns only the platform-native MSL or SPIR-V projection and reflection. | |
Precompiled specular lighting projections with a shared storage parameter layout.
| const CompiledShaderView & donner::gpu::shader::programs::SpecularLightingNativeShader | ( | ) |
Returns only the platform-native MSL or SPIR-V projection and reflection.
| const CompiledShaderView & donner::gpu::shader::programs::SpecularLightingShader | ( | ) |
Returns WGSL and reflection for distant, point and spot Phong lighting. The shader reconstructs normals from bounded alpha samples and uses maximum RGB as alpha.