Alienhead Posted October 18, 2024 Posted October 18, 2024 This happens whenever I have a masked or transparent surface in front of a DECAL. The decal is NOT overlapping the plant. I can stick the plant in the center of the map and lower the camera and it shades ( as shown in video ) from a great distance away,. Quote Alienhead Components and Software
Alienhead Posted October 18, 2024 Author Posted October 18, 2024 In this video Ive moved the plant back.. its not even close to the decal but still displays the unwanted effect. Quote Alienhead Components and Software
Alienhead Posted October 18, 2024 Author Posted October 18, 2024 One more weird occurrence, These blocks of hay have Mass and physics set. They work fine until I place them in this storage room then they have no collision or physics whatsoever. Odd. Quote Alienhead Components and Software
Josh Posted October 30, 2024 Posted October 30, 2024 On 10/18/2024 at 10:57 AM, Alienhead said: One more weird occurrence, These blocks of hay have Mass and physics set. They work fine until I place them in this storage room then they have no collision or physics whatsoever. Odd. I am guessing this related to the collision problem that has been solved already? On 10/18/2024 at 5:25 AM, Alienhead said: In this video Ive moved the plant back.. its not even close to the decal but still displays the unwanted effect. It definitely looks like an error in the lighting shader code that is not discarding pixels...Hmmmm, does this plant use transparency, or just alpha masking? If the transparency pass is not writing to the depth buffer, then I guess it would make sense that lights and decals would show up in unexpected places... Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted October 30, 2024 Posted October 30, 2024 I am trying to reproduce this error in the editor, but so far am unable to see any problems. If you have a simple scene with the necessary materials to show the effect, it would help a lot. I would also like to know what GPU this occurs on. I am using a GEForce 1080 at the moment. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted February 19 Posted February 19 It's the double-sided material causing this to happen. Something is wrong probably in the shader... Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted March 4 Posted March 4 Okay, to get this effect, you need a decal plus: Two-sided material setting must be enabled. Backface lighting material setting must be disabled. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted March 4 Posted March 4 Okay, I am just going to walk through all the steps on this... Backface lighting with a two-sided alpha-masked material looks great. And from the front side... Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Solution Josh Posted March 4 Solution Posted March 4 Okay, it just required some fine tuning of the lighting code. Issue is fixed. A project sync is required to get the updated shaders. Here is a test map. The nature pack DLC is required to open the map. lighting test.zip Quote My job is to make tools you love, with the features you want, and performance you can't live without.
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.