Jump to content

  • Log In with Google      Sign In   
  • Create Account


Multiple textures with sampler


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 george7378   Members   -  Reputation: 1132

Like
0Likes
Like

Posted 03 June 2013 - 02:37 PM

Hi everyone,

 

I'm using Shader 2.0 right now and I want to use a sampler with multiple textures rather than creating a new sampler for each individual texture. Is this possible?

 

Thanks!



Sponsor:

#2 belfegor   Crossbones+   -  Reputation: 2329

Like
1Likes
Like

Posted 03 June 2013 - 02:48 PM

Depending on a usage you might want to use volume textures with tex3D intrinsic function or regular 2D texture with adjacent "frames" but then you might have problems if you want to wrap around.



#3 MJP   Moderators   -  Reputation: 10139

Like
3Likes
Like

Posted 03 June 2013 - 03:43 PM

No you can't do that. The only work around would be to pack multiple textures into a single texture.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS