Open cachemoney opened 2 years ago
Hello, to be honest Im far from being an expert on this topic. This repo exists because it took me way too long to setup the build process. iirc I was trying to use glslfy too but could not make it work. Sorry, maybe in a few months Ill revisit the subject ;)
Hi, I am using the ts-shader-loader plugin in webpack and not sure how to use the @import feature.
The original code that I was basing this from was called via a pragma statement using glslify. I had issues trying to to get that all working with Webpack, so I am trying to use ts-shader-loader. Do you have suggestions of incorporating code inline using @import? thanks.
#pragma glslify: cnoise3 = require(glsl-noise/classic/3d.glsl)