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: some stencil shadow artifacts  (Read 3768 times)

0 Members and 1 Guest are viewing this topic.

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
some stencil shadow artifacts
« on: May 07, 2008, 07:24:35 AM »

i am experiencing some stencil shadow artifacts in one of my scenes.
this happens when i have no complete walk_floor that covers the whole ground.

in this scene i have only some boards with many gaps between them as walk_floor.
it seems that parts of the shadow are projekted to some plane beneath my walk_floor. But there is no 3d object i created there ?
i have experienced this behaviour in other scenes, too.

here are some screens:
the 3ds-file:


scene_1:


scene_2:


as you can see the strange artifacts only appear between the 3ds geometry. when there is no ground to projekt the shadow onto.
Does anybody know why these shadow artifacts appear? and would the game run even faster if these artifacts could be turned off somehow?

greets
stucki

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: some stencil shadow artifacts
« Reply #1 on: May 07, 2008, 03:26:17 PM »

The light source for shadows is probably set in such place which causes very very long shadows. The artifact you're seeing is the end of the projected "shadow volume" (normally it shouldn't be visible, because it's off-screen). You can probably work around it by moving the light higher, to change the shadow angle.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: some stencil shadow artifacts
« Reply #2 on: May 07, 2008, 03:45:01 PM »

thanks very much it helped !!
best regards
stucki

 

Page created in 0.036 seconds with 18 queries.