We will entertain your mind, enhance your brain, expand your lifestyle.

Flowing light 2

We modified the shader we created the other day to match the implementation of the puzzle. The changes are as follows:

  • Support for multiple colored trails
  • Display overlaid on other materials

Of these, we struggled with multi-color support. The original shader’s buffer control didn’t work well for multi-color rendering, so after much consideration, we changed to a method of directly stamping the ‘color’ as a 2D texture.

In addition, the method for detecting the coordinates to be drawn was reverted back to the original raycast method.

We struggled with various other things as well, but in the end we were able to get the picture shown below.

Next, we’ll turn it into a puzzle, but we’ll need to consider the puzzle’s structure and how to manipulate it.