]> git.tdb.fi Git - libs/gl.git/commit
Use a dummy transmittance lookup texture to render the lookup in Sky
authorMikko Rasa <tdb@tdb.fi>
Tue, 25 Jan 2022 17:56:39 +0000 (19:56 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 25 Jan 2022 17:56:39 +0000 (19:56 +0200)
commit5ced451549e2238bb1195d03419437a395b9afec
treeffbb9f2b7b7a13f8e97dcd09b733ddcf00559c30
parent738e2879b3cc64a7200f64e7a838704db82550b4
Use a dummy transmittance lookup texture to render the lookup in Sky

Ideally the compiler should optimize the shader so the texture isn't
used, but that'll take some extra effort to implement.
source/effects/sky.cpp
source/effects/sky.h