FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Per vertex lightning - exclude/include/emissive?

2 posters

Go down

Per vertex lightning - exclude/include/emissive? Empty Per vertex lightning - exclude/include/emissive?

Post  _-MADMAN-_ Wed May 13, 2009 8:23 am

Hi,

I have a problem with second texture. No matter what I do - it is always multiply. If I change material blend to add at different object that should fake small lights (planes), it is quite ok, but object with alpha add is still under pervertex lightning. How can I exclude objects from lightning or make them emissive/shadless (what is in fact the same)?

Any advice will be great!

Best regards,
Mad

_-MADMAN-_

Posts : 52
Join date : 2009-04-23

Back to top Go down

Per vertex lightning - exclude/include/emissive? Empty Re: Per vertex lightning - exclude/include/emissive?

Post  sio2interactive Wed May 13, 2009 3:38 pm

You need to change the OpenGL combiners on that texture channel... and OpenGL doesn't let you do something like:

1st Channel: Add
2nd Channel: Screen

Only 1 blending mode per material... the rest have to be changed with the combiners...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 44
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Per vertex lightning - exclude/include/emissive? Empty Re: Per vertex lightning - exclude/include/emissive?

Post  _-MADMAN-_ Thu May 14, 2009 3:35 am

In other words - I have to duplicate mesh with new material if I want create specific effect - env for example or emission- and blend whole new material?

I'm not familiar with OGL, but thank You for advice - time to learn more about it.

Regards,
Mad

_-MADMAN-_

Posts : 52
Join date : 2009-04-23

Back to top Go down

Per vertex lightning - exclude/include/emissive? Empty Re: Per vertex lightning - exclude/include/emissive?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum