ShaderChunk

GLSL code chunks for Verge3D shader library.

Properties

The imported module is a JavaScript object where keys represent the chunk names and values represent the corresponding shader code.

v3d.ShaderChunk.alphamap_fragment: "...", v3d.ShaderChunk.alphamap_pars_fragment: "...", v3d.ShaderChunk.alphatest_fragment: "...", v3d.ShaderChunk.alphatest_pars_fragment: "...", v3d.ShaderChunk.aomap_fragment: "...", // ... and so on

Source

For more info on how to obtain the source code of this module see this page.