Raytracing
Learning raytracing with vanilla minecraft resourcepack shaders.
Install / Use
/learn @Godlander/RaytracingREADME
Raytracing Resourcepack
To see the shader, equip the resourcepack, load into a world, and summon an item display with blackstone.
summon item_display ~ ~ ~ {item:{id:"minecraft:blackstone",count:1}}
The position of the item display will be the origin of the scene.
The demo scene consists of a (mathematically inaccurate) black hole.
https://github.com/Godlander/raytracing/assets/16228717/f1aa3b7a-bdc9-4f36-b0dd-0262be8ef0ed
