Is the problem that the texture isn't showing at all? Your code seems ok to me. How are you passing the uniform? Have you used debugger(CodeXL/gDebugger) to check if the texture is actually shown right?