hi all!
i have a little problem:
can i use lighting and aplha blending together??? if yes, how???
thnx for advise
hi all!
i have a little problem:
can i use lighting and aplha blending together??? if yes, how???
thnx for advise
Lightmapping ?
There are many ways of doing this. Please explain your situation better.
If you want a constant alpha, set the alpha of the diffuse material property and enable blending as usual.
If you want per-vertex alpha, use color material mode, pass a color per-vertex and enable blending as usual.
the correct answer is: yes. glEnable(GL_BLEND); glEnable(GL_LIGHTING);
[This message has been edited by AdrianD (edited 12-16-2003).]