multitexturing Questions

1

Solved

Every texture after GL_TEXTURE0 (texture on slot 0) is black. Fragment shader (sample code to check different textures by changing weights): #version 330 uniform sampler2D g_ColorTex; uniform sa...
Flat asked 13/3, 2013 at 20:5

1

Solved

I'm happily using the SpriteBatch class of the LibGDX Framework. My aim is to modify the representation of the sprite through a shader. batch = new SpriteBatch(2, shaderProgram); I copied the de...
Crinoline asked 15/8, 2012 at 22:53

1

Solved

I have successfully drawn a multi-textured polygon but unfortunately only the first pixel of the overlaying texture is being used across the entire texture area. Here are the textures (GL_TEXTURE0...
Ploce asked 2/2, 2012 at 16:59

2

Solved

How to turn off multiple texture units because they influence to other render parts. I activate my them: glActiveTexture(GL_TEXTURE0 + index); glBindTexture(GL_TEXTURE_2D, ((MaterialSampler2D)s...
Legg asked 18/4, 2011 at 15:48

1

Solved

I've seen as many different parameters as many source codes I saw. Is there a description can be found somewhere that refers all about those parameters in details?
Rule asked 28/1, 2010 at 22:0
1

© 2022 - 2024 — McMap. All rights reserved.