- Joined
- Dec 2, 2018
imma be honest i kinda skimmed it on 3x speed and thought the code shown at 10:35 was the "fixed" code.unless you watched some other video I have no fucking idea how you came to that conclusion, it’s just a blank canvas in VRAM you can draw to. Read the docs on surfaces. You kinda just set it once and forget about it unless the screen gets resized or you need to draw to it.
When he made a video a long time ago talking about his amazing lighting system I figured he was just using surfaces. What he’s doing isn’t even really ray tracing. It’s only moving from side to side and creating a fake gradient. What he’s doing with his code could be accomplished with a simple sprite with an alpha