Skip to main content

Questions tagged [multitexturing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
144 views

Is texture switching a good idea (OpenGL, 2D)?

Let's say I have two atlases for character animation. One atlas represent idle and walk. The other one represents striking. I usually combine atlases into one file, however I thought about using ...
Steyrix's user avatar
  • 225
0 votes
1 answer
409 views

Rendering multiple textures on same image for terrain with index buffers (LWJGL 3)

I have started with LWJGL3 and trying to built game engine. I'm stuck on generating terrains and this is my second big problem and I'm exhausted so I need some advice on how to solve my problem. What ...
Filip Cacic's user avatar
2 votes
1 answer
167 views

Problem with rendering multiple textures from same image (LWJGL 3)

I have started with LWJGL3 and trying to built game engine. I'm stuck on generating terrains. I have one image that contains two textures. So now for example I want to generate terrain with only ...
Filip Cacic's user avatar
2 votes
0 answers
287 views

Unity: Terrain Texturing Roads

The way I would texture a road within a given terrain is with a seperate mesh and a horizontally tileable texture such as this: Then make sure the texture on the edge of the road and the terrain ...
AzulShiva's user avatar
  • 669
2 votes
1 answer
4k 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 ...
Aldo's user avatar
  • 319
2 votes
1 answer
434 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 ...
e_cobra's user avatar
  • 23
0 votes
1 answer
857 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 ...
Arjan Singh's user avatar
0 votes
1 answer
1k 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-...
brent777's user avatar
  • 179
0 votes
1 answer
639 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: ...
brent777's user avatar
  • 179
0 votes
1 answer
962 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 ...
brent777's user avatar
  • 179
3 votes
2 answers
12k 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. ...
Peyman Tahghighi's user avatar
10 votes
3 answers
5k 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 ...
NPS's user avatar
  • 2,334