]> git.tdb.fi Git - libs/gl.git/commit
Put the PI constant in builtins
authorMikko Rasa <tdb@tdb.fi>
Thu, 6 May 2021 10:15:40 +0000 (13:15 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 6 May 2021 10:32:46 +0000 (13:32 +0300)
commit9208e0ff263a287e456e082a4a8b8fd0bbd41f9e
treed32c6310eefa5bc9ca6a031d88ef3e3b1283b77c
parent6b9338845dfee441cd18ad6c633e4feef8ad14e1
Put the PI constant in builtins

It's needed in several places so this is easier than defining it
separately everywhere.
builtin_data/_builtin.glsl
builtin_data/_pbr_prefilter.glsl
builtin_data/_sky.glsl
builtin_data/_sky_backdrop.glsl
builtin_data/_sky_distant.glsl
shaderlib/cooktorrance.glsl