Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [multitexturing]

The tag has no usage guidance.

1
vote
1answer
176 views

How to access an uniform array with a float as index in GLSL?

I'm trying to do basic multitexturing of terrain in OpenGL. Im building the terrain with an image representing different elements (beach, water, jungle...) : Im trying to map each color of this ...
0
votes
0answers
46 views

Different textures on the single terrain mesh

I am using Love2D and want to create tiled terrain with a single mesh (to reduce the number of draw calls). I want to change a position of some tiles at runtime and do not want any gap to appear, i. e....
2
votes
1answer
57 views

What is better: One texture per model or assigning multiple models to one single huge texture?

If I'm making a low-poly car pack of multiple cars for mobile platforms, should I: Make a large texture like of 2048x2048 and unwrap all the models to it Make separate, smaller (256x256) textures for ...
0
votes
0answers
68 views

Multitexturing: arbitrary number of textures and UV sets

In the vein of Photoshop or After Effetcs work, our users can composite an arbitrary number of layers and drive fragment colors and opacity with the result. A layer is: either a texture or arbitrary ...
0
votes
1answer
318 views

How to put different textures on different sides of a Cube in DirectX 11?

I have recently learned how to texture a cube in DirectX with a single texture but I am now trying to put multiple textures on a cube. If your confused the photo below should clarify. I am aware of ...
0
votes
1answer
722 views

Is there a way to use the RGB channels of a texture as the alpha channel when applying multitexturing using OpenGL ES 1.1?

I have been trying to get texture compression using ETC1 (specifically PKM files) working for some time now. I am trying to do this without having to upgrade to OpenGL ES 2 so I have been using multi-...
0
votes
1answer
554 views

Which texture do I bind to when implementing multi-texturing?

I have been having some issues getting multi-texturing to work using OpenGL ES 1.1. I have two PKMs - one with RGB's and one for alphas and I am trying to combine the two as below: ...
0
votes
1answer
767 views

How do I implement multi-texturing using OpenGL ES 1.1 to combine separate RGB and alpha PKMs?

I have been trying to reduce the memory footprint of my textures in a Android game that I wrote without too much success. Based on research that I have done it seems that a good approach is to ...
3
votes
2answers
9k views

How can I read from multiple textures in an OpenGL ES 2 shader?

How can I enable more than one texture in OpenGL ES 2 so that I can sample from all of them in my shader? For example, I'm trying to read from two different textures in my shader for the player's car. ...
10
votes
3answers
3k views

Is multitexturing really just “using more than one texture”?

This might seem stupid, but it bugs me. From what I understand, multitexturing is just using more than 1 texture per shader (usually to blend them somehow). So instead of creating 1 texture, I create ...