OpenGL Discussion and Help Forums
>
DEVELOPERS
>
OpenGL Shading Language
> How to bind the texture
PDA
View Full Version :
How to bind the texture
Itun.itu
04-10-2011, 03:13 PM
How to bind the texture to the specific variable in shader?
TEXTURE0 -> text0
TEXTURE1 -> text1
....
Alfonse Reinheart
04-10-2011, 03:31 PM
The OpenGL Wiki (http://www.opengl.org/wiki/GLSL_Sampler#Binding_textures_to_samplers) is your friend.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.