| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
| shadows; on itself | |
|---|---|
| Tweet Topic Started: Nov 17 2007, 11:54 PM (275 Views) | |
| ashrat3000 | Nov 17 2007, 11:54 PM Post #1 |
|
u3d raytracer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I have a model for a map and I got the shadows for things to show up on there, but how do I have the model cast shadows on itself. If there is a mountain, I want the shadow of the mountain to show up on the ground. I think it has something to do with lightmaps. |
|
그대를 사랑해 | |
![]() |
|
| Dr. Best | Nov 18 2007, 02:24 AM Post #2 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Self-shadowing is no problem with stencil shadows. Just enable both, shadow casting and shadow receiving for the object. Like this:
|
![]() |
|
| ashrat3000 | Nov 18 2007, 04:45 AM Post #3 |
|
u3d raytracer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I tried that, it doesn't work. Without shadow optimised geometry, it shows a weird shadow that moves with the camera. With ShadowOptimizedGeometry it doesn't seem to shoe any shadows at all. |
|
그대를 사랑해 | |
![]() |
|
| Mauro | Nov 18 2007, 02:06 PM Post #4 |
|
DirectX - WinAPI Programmer
![]() ![]() ![]() ![]() ![]() ![]()
|
Yep, i use this and work very well but i lose fps XD |
| Programming c++ and directx | |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)



9:10 PM Jul 11