79171786

Date: 2024-11-08 23:02:43
Score: 1
Natty:
Report link

I had to use raw-loader.

import testVertexShader from "!!raw-loader!@/shaders/test/vertex.glsl";
import testFragmentShader from "!!raw-loader!@/shaders/test/fragment.glsl";

Found the solution in this great tutorial about shaders and react three fiber.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lighthaus205