]> git.tdb.fi Git - libs/gl.git/commit
Rearrange some things in the shader library
authorMikko Rasa <tdb@tdb.fi>
Tue, 4 Oct 2022 21:34:03 +0000 (00:34 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 5 Oct 2022 11:35:24 +0000 (14:35 +0300)
commite196a09d1df1e8504ff037d1701b7159c4f04e84
tree0b81196e4ab9a1dd9cb9c7b54500bd2917e10fb3
parent7c797f8445ab02381e358472755e94e5c5125252
Rearrange some things in the shader library

Lighting parameters and queries are now in their own module.  The Cook-
Torrance BRDF has been separated from the PBR material so it's easier to
use elsewhere.
demos/desertpillars/data/sphere.glsl
demos/desertpillars/data/sphere_morph.glsl
shaderlib/common.glsl
shaderlib/cooktorrance.glsl
shaderlib/lighting.glsl [new file with mode: 0644]
shaderlib/msp_interface.glsl
shaderlib/pbr_material.glsl [new file with mode: 0644]
shaderlib/phong.glsl
shaderlib/shadow.glsl
source/materials/pbrmaterial.cpp