sampler

  1. M

    Shaders Shader not picking up color from another sampler

    I am working on a very complex shader as an experiment with 3D shadering. At this point, the shader I wrote came out excellent base on my calculations. However, it is not working. I tried testing out each algorithm in the fragment shader to see which line is working or not, and I reach my...
  2. G

    Passing in other textures into shaders

    So I'm trying just a basic shader which will draw bg_alpha_mask even though I tell it to draw bg_your_name. (Sorry for the really weird names) . However, it still somehow draws bg_your_name instead. Help appreciated. This is the fragment shader code (vertex shader is untouched): varying vec2...
Top