Back to the Vavoom Forum Archives


Forum

[Closed] Vertex lighting of models for GL and D3D renderer

Sun, 19 Nov 2006 19:57:17

Alex-bomber_Man

Hi! I would like to ask - when will it be implemented, vertex lighting for models (when models can be lighted partialy, let's say only from 1 side).. I have seen something like that for Software renderer, but i want to see that in OpenGL <!-- s:!: --><img src="{SMILIES_PATH}/icon_exclaim.gif" alt=":!:" title="Exclamation" /><!-- s:!: --> IS it hard to do?
Mon, 20 Nov 2006 21:23:58

Janis Legzdinsh

Just set a console variable gl_model_lighting to 1.
Wed, 22 Nov 2006 20:03:33

Alex-bomber_Man

Cool !!! It's realy actualy for some of my mods! BTW, it would be cool, if you make a special subsection of options, where will be settings of graphics/renderer! Think about that! <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Thu, 23 Nov 2006 11:05:10

Crimson Wizard

AFAIK you may write this down in config file for your mode.
Thu, 23 Nov 2006 20:33:09

Alex-bomber_Man

I've already done that! <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> BTW, look at this: <!-- m --><a class="postlink" href="http://alex-bomberman.narod.ru/models/4vavoom/4doom/ABM_weapons.rar">http://alex-bomberman.narod.ru/models/4 ... eapons.rar</a><!-- m --> It is the last version of my weapon modelpack! As Janis required, all weapons are middle-hold now <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> Try it with vertex lighting! <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> Oh, just forgot - now there are now muzzle flashes (shoot flashes) for weapons - it's because they look awfull with vertex lighting, and if player is in the dark room they can be not seen at all <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> So i advice you, Janis, to make a support for secondary HUD weapon model for each weapon - muzzle flash model (mf_"weapon name".md2 - i'll send them to you tomorrow), which will be shown only on shoot frames, and will be fullbright - it will make a brilliant graphics effect, i promise! <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->

Back to the Vavoom Forum Archives