Hi,
Could someone tell me how to use the alpha channel for texture loopup?
For example, in my program, I use the description to load texture file =>
<texture name= "rockwall_normal_tex" filename="textures/collage/collage_step.png" pixel_format="RGBA_32F" filtering_mode="NONE"/>
And in shader program, I use =>
vec4 t=texture2D(heightMap, texCoord.xy);
But I can't read anything in t.a or t.w.
Do I miss anything about it?
Hope someone could help me, thx.
colac