eskalon / pancake

A simple framework for libGDX games.
Other
7 stars 0 forks source link

Add a SpriteBatch shader for brightness & contrast #2

Closed crykn closed 3 years ago

crykn commented 3 years ago

Create a new default shader for the sprite batch that allows specifying the brightness & contrast.

crykn commented 3 years ago

After further thought, a brightness & contrast shader is a lot less useful than anticipated considering the fact that normal rendering may need a different shader as well and then the brightness setting of the default shader will be ignored.