asumagic / kag-staging

Issue tracker for the KAG staging build
6 stars 0 forks source link

Add reflection shader for sprites and spritelayers #210

Open NoahTheLegend opened 4 weeks ago

NoahTheLegend commented 4 weeks ago

This should work as lightning currently does, when a sprite is half in shadow, it smoothly goes darker from light source in vector to shadow. The feature would work the same, but adding brightness / doing something fancy instead, from darkest point in vector to light source. Calculating the strength of effect should be relative to difference of the darkest and the brightest points on the sprite