Dreikblack Posted August 24 Posted August 24 You can see a light beside wall, but light source is before this wall. It happens if near range is bigger than distance to obstacle. In my game i'm using near range to prevents shadows of character that have this light source (flashlight). But in this case light goes through walls. Quote Check out Slipgate Tactics demo, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Josh Posted August 24 Posted August 24 Why would it act differently than this? If the wall is closer than the near light range, it would not get drawn into the shadow map. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Dreikblack Posted August 25 Author Posted August 25 7 hours ago, Josh said: If the wall is closer than the near light range, it would not get drawn into the shadow map. Thats what i want? I don't know how it should be, but it would be more intuitive, if light could not go beside obstacle. Quote Check out Slipgate Tactics demo, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Solution Josh Posted August 25 Solution Posted August 25 You might want to try using the render layers feature to make the character not appear in the shadow. Changing the light's near range is a strange solution that will probably cause many other unexpected problems. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Dreikblack Posted August 25 Author Posted August 25 5 minutes ago, Josh said: You might want to try using the render layers feature to make the character not appear in the shadow I need character shadow if another character shines a flashlight at him. And i need shadows in general from flashlight. It there a way to prevent shadow of specific model from specific light source? Quote Check out Slipgate Tactics demo, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Josh Posted August 25 Posted August 25 15 minutes ago, Dreikblack said: I need character shadow if another character shines a flashlight at him. And i need shadows in general from flashlight. It there a way to prevent shadow of specific model from specific light source? If you are clever, the render layers system can do this. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Dreikblack Posted August 25 Author Posted August 25 Not really. Everything that should has shadows and many light sources have 1 render layer and i'm not gonna change every object at every level Quote Check out Slipgate Tactics demo, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.