I’ve been chomping at the bit to get started on Open GL rendering for creating 2D lights, but I can’t wrap my mind around it. I’ve checked out the Open GL source tutorials, Simple 2D Lighting, and How to learn GLSL and shaders for Defold, but I couldn’t understand the basic requirements for the code and setup.
How do I set up render targets, masks, the renderscript, and etc to get a simple light? I’m very new to editing render scripts. I’ve only used materials, render.predicate, and render.draw() very minimally.