Trying to experiment with shaders for a while.
I managed to pass uniform values to the fragment shader.
Like this:
shader.data.alpha.value = [ 0.5 ];
But i cant pass any samplers into the shader. How do i pass a bitmapdata into it? Trying to pass a normal map into it but with no luck.