How to connect uv sets and opacity texture in OpenGL ?

   894   0   0
User Avatar
Member
8 posts
Joined: 9月 2015
Offline
Hi guys,
I have 2 textures tex_Cd.png and tex_Alpha.png.
I have 2 uv sets on my geometry uv2 and uv3.
I would like to display in OpenGL tex_Cd.png with ogl_tex properties and apply uv2 to map it. => this is working fine
BUT i also would like to display tex_Alpha.png with ogl_opacitymap properties and apply uv3 to map it. => But in this scenario whatever i try i can't do it. I have spend 1 hour to try to understand how to do it without success.

From the doc it looks that ogl_opacitylayer is the answer cause the doc say:

The texture layer that the UV coordinates for the opacity map are sourced from.




But whatever i do nothing happen.
I have assemble a simple hip to illustrate the problem. If someone has any idea on how to do that , i would be great !

Thanks for your time.
Cheers
E
Edited by emouillet - 2024年1月6日 12:24:03

Attachments:
uvset_opacity.hiplc (1.7 MB)
opacity.jpg (31.2 KB)

  • Quick Links