Skip to content

Documentation: handheld_lighting.glsl

Essentuan edited this page Mar 28, 2026 · 1 revision

/photonics/common/handheld_lighting.glsl (since v0.3.1)

This is the file Photonics uses to sample handheld. You can replace this file to control how Photonics samples handheld.

Usage:

// There are many globals defined here, you should look at Photonics's included shaders to see what you have access to.

void sample_handheld(out vec4 color);

Clone this wiki locally