Jump to content
Sign in to follow this  
zachgibson22

Is is possible to make an object NOT cast a shadow on itself

Recommended Posts

When making a weapon I noticed the shadows are already cast on itself by default, the Shadow LOD is only used to casting on the ground or other objects other than itself.

So is there a way to make it so it doesn't cast on itself? Now You might be asking WHY???

I'm attempting to make a "futuristic" weapon in game, but I want to try and add some sort of holographic rings around the weapon like Ghost Recon.

Here is a WIP

http://zachgibson22.deviantart.com/art/LR-103-Wip1-443710582?ga_submit_new=10%253A1396151170

The way this is created is simply an image on a plane with an alpha layer. BUT if I were to render it in game I KNOW the holo-ring would still be cast onto the the weapon, the only reason it is not cast here is because I disabled the shadows for the ring.

Simply put I want NO shadow from it. Not cast onto the gun, not on the ground. Nothing.

I hope you guys understand what I'm trying to achieve and could help me out :)

Share this post


Link to post
Share on other sites

The Shadows in game are usually cast by a separate lod, the Shadow lod.

first, disable all the shadowcasting on all lods by adding a named property named LodNoShadow with the value 1

now create a shadowlod where you remodel your weapon, but use as less polygons as possible, and make sure they are all Tris (triangulate them) and simply don't model the Halos, therefor, they won't cast any shadows.

and make sure, that the shadowlod is a bit smaller than the weapon, so it doesn't cast accidentally any shadow on it.

Share this post


Link to post
Share on other sites

Then you obviously have no idea what I'm talking about then. Why would I ask a question of something I've explained to many people? Lol.

The only way I can explain what I want to achieve will be by showing what I don't want. I'll have to upload an image later.

Share this post


Link to post
Share on other sites
Then you obviously have no idea what I'm talking about then. Why would I ask a question of something I've explained to many people? Lol.

The only way I can explain what I want to achieve will be by showing what I don't want. I'll have to upload an image later.

sorry i didn't initially recognize your name.

but when you disable the shadows from all lods, taking only the shadowlod where you don't model the halos, it should work.

Share this post


Link to post
Share on other sites
sorry i didn't initially recognize your name.

Hah it's all good man. Yeah I'm still not 100% sure what you mean when you talk about not modeling the halos. I'm assuming your saying don't model them In the shadow LOD? In which I am aware of, but I will mess around. I didn't know you could disable shadows for LODs

Share this post


Link to post
Share on other sites

Ugh i was extrmely tired when i wrote in here :)

yes, i meant not to model them in the shadow lod. since it will then be the only lod that casts a shadow, there shouldn't be a problem.

Share this post


Link to post
Share on other sites

Make sure you have the lodNoShadow = 1 named property in all of your non-shadowvolume LODs as well

Share this post


Link to post
Share on other sites

I think I found what I was looking for guys. I took a look at the O2 Manual. If you select and onbject than hit E, there is an "lighting and shadows box" and an option to enable shadows :P

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×