Voxel Raytracing Test [GameMaker Studio 2]
HTML-код
- Опубликовано: 2 окт 2024
- Just a quick experiment in voxel raytracing. The entire scene and ambient occlusion are raytraced. This uses a heightmap instead of volume data so that it can render much larger maps faster.
The song is "My Liege" by Commodo.
Twitter: / xordev
Shader Tutorials: gmshaders.com
your stuff is genuinely making me smile wtf, this stuff is amazing, also, is this running in real time by chance?
this is really making me want to make a voxel game now lol
Thanks! I'm honored. It does run in real-time, 60 FPS on my RTX 2060. There's plenty of room for optimizations and I'm using a very lazy denoiser to make this work. I would love to spend more time on this!
incredible, but video compression isnt doing it any favor.
Maybe increase the contrast on those colors a bit for your video captures.
Also, is that motion blur? maybe disable that as well
I threw together a lazy denoiser which is causing the motion blur and noise artifacts. With a little more development it will be much more presentable, but the current version is more of a proof of concept
Amazing!
Is this pathtracing? and also how to reduce noise? is it possible to shoot not random rays to achive noiseless look ?
Yes. At the moment, I'm just blending the last few frames in to accumulate light. I'm still exploring this concept, but I haven't found a good solution yet.
Voxel cone tracing sounds interesting, but not very practical here
hey dude, so rn I'm in the middle of making my first 3D game in GM 1.4 (dont ask why I use 1.4 I just do) and I the biggest challenge I've ever faced with game dev is shaders, I have no idea where to start, tried to learn GLSL at least 5 different times and every time I got so confussed that I just stopped, so TL;DR no idea where to start, and I was hoping you can point me in the right direction and give me some tips on this kinda stuff, if you can help at all thank you so much
You came to the right guy. I'm writing for GMshaders.com. It has exactly what you're looking for. Good luck on your shader journey!
not open source
Source is currently a mess. I may release it later
I just learnt to do x+=hspd so I suspect this is outside of my coding range for at least another lifetime or two.
If you're crazy enough about code, you can get here