View Full Version : transparence and lighting.

10-30-2006, 04:20 AM
I used AlphaValue of Texture to make transparence effect.
now, I must turn on the lighting! All become to nightmare.
Do you know some way out? make transparence effect under lighting. do't make too much polygons,I must keep face number small.

and, by the way , is there anyway to make hold on a polygon surface?
pray for your answer.

10-30-2006, 04:53 AM
Check out the ARB_texture_env_combine - you can set GL_MODULATE as your color operation and GL_REPLACE as your alpha operation. This way color will be effected by lighting but alpha will not.

As for making holes in polygon - it's best to just create a set of separate polygons around the hole. If you need multiple, small holes in polygon then you can try alpha test.