Shadow bug
Shadow bug
I put a mesh up in the air so it would float and the shadow looks messed up when light moves and stuff?
Sure infact its a bit hard to show with only one so ill show 3.
=====================================================
These were both done with 4.1 using D3D 8.1 driver type. The light is the same from the special effects example. I just added more to the 3ds room file to kinda make it a bit bigger, and recoded it to be more object orientated. So the light source is moving around just as in the special effects demo.
=====================================================
I tried to post image using image tag but ur fourm didn't like my website so I changed them to hyperlinks instead. However, now it looks like geocities doesn't like that very much so if it doesn't work try putting url into browser directly. I don't work so I don't have my own domain :/
=====================================================
So here are the bugs I put in a html file it worked better finally after like 3-4 trys at least im pretty sure it works :/. http://www.geocities.com/zerglingunderground/shadowbug/index.html
=====================================================
This ones shadow looks really messed up:
http://www.geocities.com/zerglingunderground/shadowbug/shadowsc.gif
This one shows how the shadow isn't displayed along the ground but more just like a mirror image?
http://www.geocities.com/zerglingunderground/shadowbug/shadowsc2.gif
This one is just so you can see where the models location is compared to shadow.
http://www.geocities.com/zerglingunderground/shadowbug/shadowsc3.gif
=====================================================
These were both done with 4.1 using D3D 8.1 driver type. The light is the same from the special effects example. I just added more to the 3ds room file to kinda make it a bit bigger, and recoded it to be more object orientated. So the light source is moving around just as in the special effects demo.
=====================================================
I tried to post image using image tag but ur fourm didn't like my website so I changed them to hyperlinks instead. However, now it looks like geocities doesn't like that very much so if it doesn't work try putting url into browser directly. I don't work so I don't have my own domain :/
=====================================================
So here are the bugs I put in a html file it worked better finally after like 3-4 trys at least im pretty sure it works :/. http://www.geocities.com/zerglingunderground/shadowbug/index.html
=====================================================
This ones shadow looks really messed up:
http://www.geocities.com/zerglingunderground/shadowbug/shadowsc.gif
This one shows how the shadow isn't displayed along the ground but more just like a mirror image?
http://www.geocities.com/zerglingunderground/shadowbug/shadowsc2.gif
This one is just so you can see where the models location is compared to shadow.
http://www.geocities.com/zerglingunderground/shadowbug/shadowsc3.gif
-
- Posts: 21
- Joined: Tue Nov 18, 2003 5:21 am
- Location: Longview, Washington
I have yet to be able to get shadows to work in any of my projects or the examples for that matter. I have tried using both the DT_DIRECTX8 and the DT_OPENGL drivers, I have come to beleave that it might be my computer - P3 550, 512Mb DDR Ram, GeForce2 MX200 64Mb - that keeps the shadows from working. If not, could any of you give suggestions on what I can check to try and get shadows working? Thanks in advance.
Ah, I think I know what the problem is.
There are two possible solutions for that:
First, try to increase 'infinity', the last parameter of addShadowVolumeSceneNode() (http://irrlicht.sourceforge.net/docu/cl ... de.html#a5).
Second: Try another shadowmode by switching the zfailmethod parameter.
There are two possible solutions for that:
First, try to increase 'infinity', the last parameter of addShadowVolumeSceneNode() (http://irrlicht.sourceforge.net/docu/cl ... de.html#a5).
Second: Try another shadowmode by switching the zfailmethod parameter.