Skip navigation
Walking through my browser-based voxel engine #gamedev #webgpu
0:00 / 0:52

Walking through my browser-based voxel engine #gamedev #webgpu

xima

@_x1m42.7K followers

Visit on X
556 likesDownloadOriginal post

24,788 views #gamedev #webgpu

Walking through my browser-based voxel engine #gamedev #webgpu

20 Comments

Comments from the original post on X (Twitter)

  • Mark Spall's profile picture

    @markspall

    This is absolutely brilliant. I have so many questions. To DAG or not to DAG? To ray trace each pixel or march the DAG per voxel?

    3 likes

  • xima's profile picture

    @_x1m4

    It's a uniform grid with a mip-based ray acceleration structure. The reason for that is that (soon) there will be a cellular-automata based fluid simulation that requires super fast voxel and acceleration structure updates. Here is a quick peek of what it will look like once ported over:

    2 likes

  • Mark Spall's profile picture

    @markspall

    That's really cool. I love this concept. I've been wondering how to get movement into mine. I have a GPU based DAG that can handle partial updates. I'm hoping it'll be fast enough.

    2 likes

  • Gabriel Dechichi's profile picture

    @gdechichi

    are you doing screen space GI?

    3 likes

  • xima's profile picture

    @_x1m4

    It's calculated in world-space with a new GI technique specifically developed for this game called CAGI

    5 likes

  • kumikumi (Ankkala)'s profile picture

    @ankkala

    @gdechichi how does it work? can i read more on it?

    2 likes

  • xima's profile picture

    @_x1m4

    @gdechichi Didn't get around writing an article yet, but a few people on the voxelgamedev discord server wrote their own implementation and shared their results

    3 likes

  • Mark Kretschmann's profile picture

    @mark_k

    The sound is great. Are you using some kind of raytracing for the sound waves?

    3 likes

  • xima's profile picture

    @_x1m4

    Yes the sound is ray traced with support for occlusion and reverb based on the surroundings

    4 likes

  • Sky's profile picture

    @Skyade_art

    Hytale is looking great

    3 likes

  • hlsvortex's profile picture

    @HLS_dev

    😍

    2 likes

  • artem's profile picture

    @_frolovartem

    looks like hytale

    2 likes

  • Daniel W.'s profile picture

    @hxtnv44

    impressive

    2 likes

  • andrew's profile picture

    @ivanovandrewx

    Looks great!

    2 likes

  • Михайло's profile picture

    @MichailGabun

    Nice

    1 like

  • Dawid Pogorzelski's profile picture

    @_shoen

    Really nice work @_x1m4 ! How is physics simulated? Is it a third party solution or something made from scratch?

    1 like

  • xima's profile picture

    @_x1m4

    No third party libraries are involved since the engine is written entirely in WGSL

  • ChineseTechBro's profile picture

    @ChineseTechBro

    oh this is beautiful . I could play this all day

    1 like

  • rock's profile picture

    @_Alternative_54

    what the fuck

    1 like

  • sapph1ren's profile picture

    @sapph1ren

    Looks like voxel-core project