stohrendorf / CroftEngine

An open-source Tomb Raider 1 engine remake
Other
281 stars 18 forks source link

Bloom improvements #240

Closed stohrendorf closed 2 years ago

stohrendorf commented 2 years ago

This should have been part of #239, but I discovered too late that bloom was basically just blurring the whole image without respecting the actual texel luminance. This change adds an additional pre-blur pass to basically filter out dark texels before blurring it to produce the bloom texture.