Make games on your phone.
Get the app!
AndroidiOS
Castle
@XYZ_axizz

2D Ray Tracing Engine

2D Ray Tracing Engine by @XYZ_axizz
play190
8
12 Comments
Next up
2D Ray Tracing Engine (Alpha). #raytracing #raycasting #raymarching #alphatest
More #raycasting games ↓
2D Ray Tracing Engine v0.4.1 has been released. This update is for optimization purposes. •Added object pool, it creates a ray once, then updates it to new position, creating and destroying objects thousands of times per second is heavy. •Localizing global functions, finding global functions (math.sin, tostring, math.atan2, wtc.) is heavy too. •Fixed a bug that calls main function lots of times if main function is too heavy to calculate. •Added a warning at 8k rays, the game crashes (castle limit ig).
Reply
snapshot
fire1Reply
Oh my gosh what the jwvdyy guy whsisyebduhehsyshwuehdudib ITS SO PEAK!!!
fire1Reply
The next update will focus on code optimization, you can find it under "View Deck Source"
Reply
• Added a ray counter
Reply
2D Ray Tracing Engine v0.4 has been released. Added: • New light sources (Single ray, area, point and spot) • Ray thickness, in "Light Source Settings" button. Improved: • Shader models now are custom for each shape, instead for a global shader. Replaced: • Ray Marching mode was replaced by "Point" light source. • White -> Dark theme Fixed: • Glass ray not working • Broken secondary glass ray angle at 0 IOR What's next: • Light dispersion in glass rays • Diffuse rays • Triangle shape Support my deck by reacting to motivate me :3
Reply

More #raycasting games

See all #raycasting games →