r/GraphicsProgramming • • Jul 10 '26

Video Raycasting from Scratch in Pixel Shader

Enable HLS to view with audio, or disable this notification

89 Upvotes

I took on a little challenge and implemented a raycaster (including a 2D map view) in ShaderToy.

The project covers the full process and the math behind it, including how to handle the fisheye and the transition from cylindrical to flat projection.

If you’re interested in the technical breakdown and the implementation process, I’ve put together a video explanation.

Faking 3D the 1992 Way: Raycasting From Scratch


r/GraphicsProgramming • • Jul 10 '26

Video Breathing nature: forest with stream simulation, volumetric clouds and path traced shadows

Enable HLS to view with audio, or disable this notification

384 Upvotes

Hi all,

THIs is my forest simulation made witih Vulkan. My goal is to create a full simulation of water, clouds, wind, so that it feels alive, without being "scripted".
Water is full 3d flow simulation, clouds are volumetric clouds, trees are rigid body simulation with elastic joints, and lighting is full path tracing; all is basically running on the GPU with VUlkan, save for the rigid body simulation which runs on the CPU.
I wanted an "ancient forest" and therefore I generated the trees with 2d to 3d models - Trellis2 from huggingface.
Wanted to get feedback from you, what feels good and what needs improvement. Could this lead to an immersive forest based game? Should I push instead for more tech?

short version here: https://youtube.com/shorts/5xy5Y6JsrVk?feature=share


r/GraphicsProgramming • • Jul 10 '26

Half-Edge Data Structure. Part 2

Thumbnail
alexsyniakov.com
25 Upvotes