-
texture indirections
hi,
I use this code with a radeon 9800 PRO:
uniform vec2 tab;
uniform sampler2d texureid;
...
int tmp = 0;
vec4 res = tex2D(textureid,TexCoord + tab[tmp]);
...
I have the error : "...texture indirections exceded..." and shader is used in software
but if i use this code :
uniform vec2 tab;
uniform sampler2d texureid;
...
vec4 res = tex2D(textureid,TexCoord + tab[0]);
...
then my shader is used in hardware
so what could be the explanation of this ?
and how can I use the first code in hardware (if I can
) ?
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules