-
Notifications
You must be signed in to change notification settings - Fork 5
Documentation: ph_samplers.glsl
Essentuan edited this page Mar 28, 2026
·
2 revisions
Photonics API for sampling its lighting outputs. These methods are always available, even if when using photonics.lightingMode = OFF.
vec3 sample_photonics_direct(vec2 coord);Returns the direct contribution for a given coord, where coord is 0..1.
vec3 sample_photonics_handheld(vec2 coord);Returns the handheld contribution for a given coord, where coord is 0..1.
- Home
- Documentation
- How to adapt your Shaderpack