• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Need Info] Omnilights don't cast shadows?

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,229
as far as i know, war3 engine doesn't allow lights to cast shadows
Empire Earth also did not have dynamic shadows, neither did the original PS1 Spyro the Dragon. I do not see the relevance of this...

or we wouldn't have stuff like over-accented highlights and shadows on the textures, or shadows actually being textures, aka 'splats' to buildings and other things
Actually SC2 still uses that to some extent as occlusion and self shadow is not that good, but a lot of the stuff placed onto WC3 diffuse was to simulate surface shape which should be the job of the normal map which SC2 does support. Unfortunately when they ported the WC3 meshes they only baked the vertex normal into a map rather than remaking textures and a proper normal map. The result is WC3 models look unnaturally smooth with strange shading at parts. If you look at Zerg or Terran models most of the surface detail is being conveyed by the normal map with the diffuse being mostly flat painted colours.

it is possible Omni-lights are only diffuse. If you look at the lighting editor you will see that global shadows are controlled by a specific sort of light, with the rest simply adding more colour to the world to simulate reflections of various kinds. Maybe Omni-lights lack a direction and as such they cannot cast shadows. SC2's shadow engine is pretty advanced but also does have limitations.
 
Last edited:
Status
Not open for further replies.
Top