Hello everyone!,
I want to pass to a shader one texture divided in 4 quadrants with different textures.
Is it possible?
Texture mapping problem
Re: Texture mapping problem
Create a new image and use copyTo(), I should think.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Texture mapping problem
You can pass any texture to a shader. I think it would be benefitial to know what you want to do with your texture
Re: Texture mapping problem
I want to know how i can use a texture divided in 4 quadrants like if it was 4 textures in different layers.
To do things like this:
or to pass shadow maps or for texturing terrains depending on the normal vector, etc
sorry for my english
To do things like this:
or to pass shadow maps or for texturing terrains depending on the normal vector, etc
sorry for my english