HTML generated on: Nov 3 2024
Blog
«Page 9 of 21 • 16 7 8 9 10 11 1221 »

7/2/2019The new cubemap feature of Shadertoy can be used as a cache for diffuse lighting on a pair of cubes, while specular lighting is still done dynamically. It's a 1024x1024 cubemap, so only one side of the cubemap is updated per pass to keep it fast:
https://www.shadertoy.com/view/Wss3Ds

17/1/2019Intersection test of ray with bilinear surface (non-planar quadrilateral): (link: https://www.shadertoy.com/view/3dXGWs) I'm not sure if the intersection test code is minimal. I made this mostly to show how a bilinear patch is bounded by the tetrahedron defined by it's 4 points (useful for culling!).


6/1/2019Here's a way to do bouncing ball collisions without storing any state between frames. It allows cool stuff like making time go backwards, since the whole rendering is a pure function of time. It does analytic collisions between parabolas and planes in 3D:
https://www.shadertoy.com/view/WdfGzj

25/11/2018New realtime animation Bad Syndrome released at Vortex this weekend, made in Notch.
https://www.pouet.net/prod.php?which=79205

22/11/2018Truchet polygons in a 4.6.12 (squares, hexagons, and dodecagons) tiling:
https://www.shadertoy.com/view/llyBRG


«Page 9 of 21 • 16 7 8 9 10 11 1221 »