Skip to content

JustAnotherCube

Shader of the Week

This Fuse is based on the Shadertoy 'Just another cube' by mrange. © mrange (CC BY-NC-SA 3.0). Conversion to DCTL and encapsulation into a fuse done by JiPi. See ShaderOfTheWeek for more fuses in this category.

JustAnotherCube Thumbnail JustAnotherCubeGifAnim

A nice, compact shader. The cube can be rotated using the mouse parameter. The background color and reflection color are adjustable. The cube's alpha is set using ColorOut, and the background's alpha is set using BKGColor.

Enjoy playing!

Screenshot

Description of the Shader in Shadertoy:

CC0: Just another cube
Glowtracers are great for compact coding but I wanted to see how much
I could squeeze a more normal raymarcher in terms of characters used

Compatibility

🟥 macOS / Metal

🟥 macOS / OpenCL

🟩 Windows / CUDA: checked

🟩 Windows / OpenCL: checked


 
 

Edit on the Shadertoy.com Playground   |   View the Fuse Source Code