1 Reply Latest reply on Apr 8, 2013 4:54 AM by XColomer

    Error #3606: Sampler 0 format does not match texture format.

    XColomer

      Hi There,

       

      I am trying to use a cube texture but I got this error:

      Error #3606: Sampler 0 format does not match texture format.

       

      with this AGAL fragment:

      mov ft0.w, fc0.x

      tex ft1.xyzw, v0.xzy, fs0
      mul ft0.xyz, fc1.xyz, ft1.xyz
      mov oc.xyzw, ft0.xyzw

       

      Apparently glsltoagal doesn't write the fs0 <parameters> is that a problem or it has default values?

       

      Should I create Cube textures in a specific manner?