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

Комментарии • 14

  • @yuxanne.
    @yuxanne. 2 года назад +6

    your stuff is genuinely making me smile wtf, this stuff is amazing, also, is this running in real time by chance?

    • @yuxanne.
      @yuxanne. 2 года назад +1

      this is really making me want to make a voxel game now lol

    • @XorDev
      @XorDev  2 года назад +3

      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!

  • @dXXPacmanXXb
    @dXXPacmanXXb 2 года назад +5

    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

    • @XorDev
      @XorDev  2 года назад +1

      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

  • @BokehDev
    @BokehDev 2 года назад +1

    Amazing!

  • @arsenbabaev1022
    @arsenbabaev1022 2 года назад +1

    Is this pathtracing? and also how to reduce noise? is it possible to shoot not random rays to achive noiseless look ?

    • @XorDev
      @XorDev  2 года назад +1

      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

  • @BrentLoaf
    @BrentLoaf 2 года назад

    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

    • @XorDev
      @XorDev  2 года назад

      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!

  • @loli42
    @loli42 2 года назад +3

    not open source

    • @XorDev
      @XorDev  2 года назад +1

      Source is currently a mess. I may release it later

  • @andrewc3294
    @andrewc3294 2 года назад

    I just learnt to do x+=hspd so I suspect this is outside of my coding range for at least another lifetime or two.

    • @XorDev
      @XorDev  2 года назад +1

      If you're crazy enough about code, you can get here