Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

The tag has no usage guidance.

3
votes
1answer
79 views

How to align Ray Marching on top of traditional 3D rasterization?

I'm trying to apply raymarching on top of 3D rasterization, ordering what 3D object gets displayed based on the depth of a rasterization pass and the raymarch depth. After getting the transform ...
0
votes
0answers
56 views

How can I convert implicit surfaces to 3D distance fields?

I discussed with people from ShaderToy about converting implicit surfaces to 3D distance fields.Of course, I can use domain operators to combine distance fields and build more complex shapes, but I ...
0
votes
0answers
28 views

Quaternions and intersection bugs for boxy SDFs

I'm using ray-marching to render simple shapes and test different mapping functions; rotating the shapes along a path lets me easily see all of each surface without clicking/dragging. Rendering boxes ...
3
votes
2answers
262 views

How can I convert signed distance field to a mesh?

I can easily make models by Modeling with Distance Functions but I need make mesh from It so I decide to use voxelizing and make triangles for my signed distance field torus like this video.but I ...
2
votes
0answers
77 views

Not understanding the lighting equation for volumetric cloud rendering

I've been looking The Real-time Volumetric Cloudscapes of Horizon-Zero Dawn, but I'm very confused by a few terms. The presentation mentions "The Henyey-Greenstein phase function" on page 54, ...
3
votes
1answer
84 views

Parallax/relief mapping with gl_FragDepth and conservative depth

New to writing shaders, please forgive any naivety in the question! Parallax mapping in any of its ray-marchy variants (e.g. steep parallax, cone step mapping, POM) generates fake geometry on a ...
5
votes
1answer
165 views

Volumetric integration in Frostbite

In their presentation at SIGGRAPH 2015 Electronic Arts presented method of volumetric rendering using 3D texture aligned with view frustum. This technique needs two steps: Injection of color and ...
1
vote
0answers
165 views

Volume Rendering: Implementation

Can somebody explain how to implement volume rendering and scattering? I've been told that this is the easiest and most effective method to render things like smoke, milk and fog. Scratchapixel has ...
5
votes
1answer
590 views

Volume Rendering (Path Tracing & Real-Time)

I have a few doubts and questions regarding volume rendering, I was hoping someone here could help me understand. I commonly hear the terms 'Ray-Marching' & 'Volume Rendering' being used together ...
6
votes
1answer
439 views

Is there a method to do ray marching style modulus repeat with raytracing?

One of the features of ray marching is that you can use modulus to repeat shapes infinitely, like in the image below, which is from https://www.shadertoy.com/view/MsBGW1 I was curious if there exists ...
3
votes
2answers
145 views

Frustum aligned volume integration - aliasing issue - temporal reprojection

Raw volume raymarching especially aligned with frustum seem to produce a lot of aliasing/banding on edges of shadow map. Especially when fragment pos is far because step length is then getting bigger. ...
5
votes
1answer
234 views

mapping 3d texture on view frustum (or part of it)

I'm implementing volumetric fog in my OpenGL renderer. First I inject color into 3D texture using compute shader, atomic operations and shadow map visibility check. The information I use to compute ...
5
votes
1answer
108 views

Ray-based rendering terms [closed]

There are a number of terms for rendering techniques based on the particle model of light: forward ray-tracing, reverse ray-tracing, ray-casting, ray-marching, and possibly others. What's the ...
16
votes
2answers
6k views

What is Ray Marching? Is Sphere Tracing the same thing?

A lot of ShaderToy demos share the Ray Marching algorithm to render the scene, but they are often written with a very compact style and i can't find any straightforward examples or explanation. So ...