Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Multiple textures with sampler

4: Adsense

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   

1419
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!



#2 belfegor   Members   

2833
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   

19420
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.