| 01-27-2010, 10:41 PM | #1 |
I was wondering if it is possible to create a real 3-dimensional shadow model. Let me explain what I mean: I was trying to create a 3-dimensional shadow model by making a semi-transparent black box. Everything that is inside that box will be seen darker than outside the box - exactly what a shadow does. However, there is this one problem: objects, that are behind the shadow will also be darkened by the box. The box acts basicly like sunglasses, not like a real shadow. Is it possible, to create a model that is 100%, but darkens all objects that intersect it directly, but not those behind it? note: It has to be done so that warcraft III can use this model. |
| 01-28-2010, 01:50 AM | #2 |
no, it's not possible but a pyramid would allow for more viewing of things behind. it would of course also decrease cover-able things though. just tint the model with script |
| 01-28-2010, 03:25 AM | #3 |
It's not possible because WC3 doesn't use raytracing for the lighting. What about the ingame unit and building shadows? Anyone know if they interact with the lighting and models underneath or just make a big splat on the terrain? |
| 01-28-2010, 04:06 PM | #4 | |
Quote:
|
