I dont think its possible to do for one actor specificly unless the actor model itself is ethereal or something. You can change the global lighting to rid yourself of shadows.
I don't care if it's for one individual actor, all actors of the type or whatever, I just want it gone :P But, I want to keep shadows as normal for everything else. Namely, it's the Terratron Saw that's causing me problems. I don't mind that a disc of light is casting a shadow in the first place, the problem is that the shadow is really bugged out (it's like big squares rotating around).
- Real shadows that constructed based on lightning and height. (Only show with high game settings). To disable it, send actor message Set Shadow Visibility 1 to actor or actor of unit etc..
- Fixed shadows for low shader/shadows settings: A fixed 0.5 shadows on the ground for any given unit. To turn this off, go to the model in Data Editor: Set Shadow Radius to 0.0 (default 0.5). Note: This shadow is not visible on higher settings
Thanks for the reply. I took another look at the actor messages and it looks like the message is actually "SetCastShadows". "SetCastShadows" will disable the actor's shadow, and "SetCastShadows 1" will enable them.
How do I remove a unit's (actor's) shadow?
I thought this would be simple but nothing I've tried works, and I can't find a topic on it. Thanks for any help.
Solution: Use the actor message "SetCastShadows" do disable the actor's shadow, and use "SetCastShadows 1" to enable it.
I dont think its possible to do for one actor specificly unless the actor model itself is ethereal or something. You can change the global lighting to rid yourself of shadows.
@acidragoon: Go
I don't care if it's for one individual actor, all actors of the type or whatever, I just want it gone :P But, I want to keep shadows as normal for everything else. Namely, it's the Terratron Saw that's causing me problems. I don't mind that a disc of light is casting a shadow in the first place, the problem is that the shadow is really bugged out (it's like big squares rotating around).
@ubermikeleet: Go
There are 2 types of shadows as I'm aware of:
- Real shadows that constructed based on lightning and height. (Only show with high game settings). To disable it, send actor message Set Shadow Visibility 1 to actor or actor of unit etc..
- Fixed shadows for low shader/shadows settings: A fixed 0.5 shadows on the ground for any given unit. To turn this off, go to the model in Data Editor: Set Shadow Radius to 0.0 (default 0.5). Note: This shadow is not visible on higher settings
Your teratron's behavior should be real shadow
@progammer: Go
Thanks for the reply. I took another look at the actor messages and it looks like the message is actually "SetCastShadows". "SetCastShadows" will disable the actor's shadow, and "SetCastShadows 1" will enable them.
@ubermikeleet: Go
My mistake, it should be the GUI version so its a little different, but 0 is off and 1 is on
So you tried getting the actor events to send a message to the show to set opacity to 0?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
i did send SetCastShadows (which is equal to SetCastShadows 0)