Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Shadow direction  (Read 3305 times)

0 Members and 1 Guest are viewing this topic.

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
Shadow direction
« on: June 24, 2013, 12:24:23 AM »

Never mind.  I found SetLightPosition() and the actor3d comments for Trinity.
« Last Edit: June 24, 2013, 06:26:21 AM by fireside »
Logged

Azrael

  • Regular poster
  • ***
  • Karma: 9
  • Offline Offline
  • Gender: Male
  • Posts: 155
    • View Profile
    • Mad Orange
Re: Shadow direction
« Reply #1 on: June 24, 2013, 06:28:26 AM »

Don't know why it can't, but you can create a script that dynamically change the position of the shadow according to a fixed point.

About the shadow color you can use:

Code: WME Script
  1. actor.ShadowColor = MakeRGBA(0, 0, 0, 120);   //or the RGBA you want
Logged

fireside

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 211
    • View Profile
Re: Shadow direction
« Reply #2 on: June 24, 2013, 11:09:12 AM »

Quote
Don't know why it can't, but you can create a script that dynamically change the position of the shadow according to a fixed point.

I edited my original post, sorry, but that's a good idea.  For now, it looks good with a more subtle shadow directly overhead.
Logged
 

Page created in 0.021 seconds with 20 queries.