Jump to content


Photo

Shadows


  • Please log in to reply
7 replies to this topic

#1 Ouranos

Ouranos
  • Members
  • 61 posts
  • Projects:The Battle for Alagaësia

Posted 15 March 2010 - 09:28 PM

For my Eragon mod I have created a lot of new buildiings but when I put them ingame they don't have any shadow:

Posted Image Posted Image

Does anyone know how to fix this?

#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 15 March 2010 - 09:48 PM

I believe this may be caused by your code not having this line:
Shadow = SHADOW_VOLUME
If it does... then darn it :shiftee2:
Ridder Geel

#3 Ouranos

Ouranos
  • Members
  • 61 posts
  • Projects:The Battle for Alagaësia

Posted 15 March 2010 - 10:02 PM

Well it does have it has can be seen by the flags having shadows for example but not the actual new models.

#4 Nertea

Nertea

    ...lo sa raptor!

  • Hosted
  • 3,349 posts
  • Location:Vancouver, Canada
  • Projects:Star Villains and Space heroes, The Dwarf Holds
  •  T3A Chamber Member
  • Division:BFME/Unity

Posted 15 March 2010 - 10:08 PM

Tick the Shadw box in the exporter? (no clue if this is relevant in BFME2)

sig.png
I really don't do requests and my Arnor Soldier is not fit for BFME. Don't ask me for either.


#5 Ouranos

Ouranos
  • Members
  • 61 posts
  • Projects:The Battle for Alagaësia

Posted 16 March 2010 - 06:38 AM

Ok that was the problem. Thanks

#6 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 16 March 2010 - 07:24 AM

Strange... I never had to do that for my models... But ok, problem solved :shiftee2:
Ridder Geel

#7 morgoth946

morgoth946

    title available

  • Hosted
  • 630 posts
  • Location:Mallorca

Posted 16 March 2010 - 11:53 PM

Tick the Shadw box in the exporter? (no clue if this is relevant in BFME2)


It's relevant if you're playing in middle or high settings that show the old shadow "style". Consequently, the shadow volume parameter needs to be in the code.
If you're playing in very high settings the condition to see the new shadows is to have the subobjects of the model with a single material. I think that the "Multi/Subobject" material (which is applied when you attach two or more subobjects that have different materials) does not show the shadow correctly.
The Four Ages, the new english Website:

Posted Image

Posted Image

#8 Rob38

Rob38

    Believer of Hope

  • Hosted
  • 3,567 posts
  • Location:USA
  • Projects:Helm's Deep Last Hope
  •  One who is not afraid of new challenges

Posted 17 March 2010 - 08:00 AM

It's relevant if you're playing in middle or high settings that show the old shadow "style". Consequently, the shadow volume parameter needs to be in the code.
If you're playing in very high settings the condition to see the new shadows is to have the subobjects of the model with a single material. I think that the "Multi/Subobject" material (which is applied when you attach two or more subobjects that have different materials) does not show the shadow correctly.

Interesting... I have actually been trying to remove shadows from a model on purpose. This may be my solution. Thanks for the tip Morgoth! :shiftee2:

signature_group1.gif

 

16821.png





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users