Im trying to convert this shader to hlsl, and make it usable to 3dgs, but im not sure if it will work, can someone who is a little more expirienced then me check it out to see if its even possible, right now im just trying to change the vec's to floats, setting up the sampler, and im trying to figure out how they are doing stuff.