Skip to content
Primary Menu
  • Podcast
  • Blog
  • Softwares & Code
  • Projects & Creations
  • Arts
    • Photos
    • Music
    • Drawing
    • 3D
Antoine Fortin

rendering, sound, maths, arts, computer sciences and things

RayMarching

  • Home
  • RayMarching
Category: Blog/Tutorials

Ray Marching Cheat-Sheet

Posted On 13 November 202013 November 2020 By antoinefortincomment

This assume you already have the algorithms implemented in a fragment shader. I will use GLSL, but one can easily just switch to HLSL for DX pipeline. Animation and movement Rotate a plane vec3 planeOrientation = vec3(0.0, 1.0, 0.0);float planeH = dot(pos, normalize(planeOrientation));float box = sdBox(pos + vec3(1., -1.5, 0.), Continue Reading

Load More Posts

Copyright © All rights reserved Theme: Infinity Blog by Themeinwp