1
Graphics / SFML Shader Gradients
« on: June 14, 2020, 09:22:05 pm »
I have been working on a dynamic lighting system for my game, I use ray marching to collect points around the screen then generate triangles to make my lightmap but I'm wondering how I can use shaders to make my lightmap transparent and then fade out as it gets further away from my light source. I haven't used shaders before but I hope to learn. Thanks in advance.