• Advertisement
Sign in to follow this  

bending 2 or more textures together?

This topic is 1828 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[sharedmedia=core:attachments:13304]
 
i have attached an image
 
it is 2 quad which are overlapping 
 
is there a shader or way that the 2 images when they meet combine so that it looks like one continus texture
so that the shader samples from each and then  blends them together correctly.
 
i am only using the  present texture as an example 
 

 

Share this post


Link to post
Share on other sites
Advertisement

i was hoping there might be a way of not sending both textures to the shader and sampling from both in one pass.

 

the idea was to be able to move and combine about 30  quads in no specific order , but just give them the  shader technique and it will do all the rest .

 

but if i have to  send both textures then i would have to have a set distance from each other or they would have to know about each other and every thing else  

Share this post


Link to post
Share on other sites

You can still accomplish this using good old multi-passing, which will allow you to blend together as many textures as you want in which ever order you want. Draw the base texture and then draw on top of it. Do some googling - it's how stuff used to be done in the olden days. No shaders needed! :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement