Where can I see built-in shader chunks?

Where can I learn more about shader chunks used in Playcanvas? I sometimes read tips on how to modify a chunk here and there to alter a PBR material, but are these chunks described somewhere? In order to do my own tweak to an existing shader I need to see the whole shader, or at least the whole chunk.

We don’t have docs for this yet as this API has not been finalized. It will most likely change so it’s still considered internal - we do share ways to do stuff every now and then, but you know be warned that this might break soon.

When we have finalized that API we will provide full documentation.

Considering the warning from @vaios, use it on your own discretion, expecting that it will “brake” your shaders when engine chunks will be updated that lead to conflicts with your changes: https://github.com/playcanvas/engine/tree/master/src/graphics/program-lib/chunks

Thanks. Warning considered.