gridshape.raymarching.shader
>> Support a charity (<- a few are listed here) || Support me on -> patreon | ko-fi
>> This program is distributed in the hope that it will be useful, but without any warranty
About
Use a raymarching shader on a gridshape in Jitter.
In this repository you'll find an example on how to use a ray marcher as shading for a jit.gl.gridshape and have it be part of the jitter world using the same camera as the other objects. Inspired and ported from the great Art of Code tutorial about using GLSL shading on a cube in Unity. With some help by Jaromir Mulders. sdf compositing and shape primitives functions from the GL3 package examples, which are taken from Inigo Quilez.
Resources
- The Art of Code - Writing a ray marcher in Unity - https://youtu.be/S8AWd66hoCo
- Inigo Quilez - Distance Functions - https://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm
Install
1. download zip
2. unzip
3. Open any of the patches
If you have any questions, comments, bug-reports or suggestions. Please feel free to contact me via info@timohoogland.com or on Github @tmhglnd.
License
The MIT License
The artistic and aesthetic output of the software in the examples is licensed under: Creative Commons Attribution-ShareAlike 4.0 International License
(c) Timo Hoogland 2021
Github
You can also clone the repository from: https://github.com/tmhglnd/gridshape-raymarcher
includes