Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi, I would like to simulate sun's shadows. So I built a directionnal light moving around my scene pointing to the center of the scene (0,0,0). https://drive.google.com/file/d/0B_VAg-pGiiF6YlR5WGZrUGVLeGc/view?usp=sharing Shadow is visible at edition. No shadows at execution. Help Falcon |
||||
|
Hi, that's really strange, there is definately something strange going on. Thanks for uploading this, I'll investigate. |
||||
|
Update: ah, it is actually not a bug. You have a script in there changing the direction of the light. Without the script everything looks correct. So somehow, I guess the scrupt doesn't seem to put out the correct directions. If you change this, it should work. |
||||
|
Without the script, so without changing the light direction you see a changing shadows around the building at execution ? Not me, and it seems correct because direction light has a light direction that is not dependant of light source's position. ???? |
||||
|
Niko ? |
||||
|
Yes, there are shadows for me. Do you see shadows in other apps? Just not in yours? |
||||
|
I see shadows on example physic.ccb . Other informations : I see building's shadow at edition session. compiling to .exe : I see no building shadows (fix ou moving) using JS directionnal light orientation or not. I see changing building's illumination using JS script and not if I don't use it. Compiling to webgl : I see fix building shadow if I don't use JS script. I don't see fix shadows (and no moving shadons too) but I see building changing building's illumination. |
||||
|
Help ! |
|