Jump to content

Problem with Diagonal Shadows


Shademan
 Share

Recommended Posts

I'm a complete novice when it comes to Leadwerks and 3D development in general, so my apologies if this is a super basic issue or is properly addressed elsewhere (I searched for hours and couldn't find anything, but I may simply lack the terminology).

 

As you can see in the picture below, which was taken within an unaltered "start" map, the shadows cast by solid objects (specifically those with prominent, sharp, 90 degree angles) tend to be a bit...off...there's a sort of "divet" between the actual edge where the shadow should begin and where it actually does begin. This makes all such objects look a bit like they're floating a few centimeters off the ground, even if they're totally flush or overlap with ground geometry.

 

weird.png

 

 

Is this just the way it is (a pretty undesirable effect, imo), or is there a way to amend that and make diagonal shadows behave properly? Is this something that can be done via scripting (something that I am still very new to in Leadwerks), or is it just a quirk of the engine that one must live with?

 

Any help or insight would be greatly appreciated. Again, I tried searching, but simply couldn't find any mention of this.

  • Upvote 1
Link to comment
Share on other sites

i saw also and not like, maybe because of roundings ...

allways it looks the object is not at ground.

josh knows it.

 

did u try self.world:SetLightQuality(2) in app lua?

i read this is best quality.

  • Upvote 1

PC : Win 10 Pro 64 Bit , 4x cores ~2 GHz , 8 GB RAM , AMD R7 265

2D : Photoline , Zooner Photo Studio 13 , Art Rage Studio 3.5.4 , Ashampoo Snap 7 , ...

3D : Shade 15 Basic , Carrara 8.5 & DAZ Studio 4.8 , Cheetah 3D 6.3.2 , Via Cad 8

Music : Samplitude Music Studio , Music Creator 7

IDE : Leadwerks Engine 3.x , Unity 5.x , (Unreal 4.8.x) , AGK v2.x , Construct 2 , (Clickteam Fusion 2.5) , ShiVa 1.9 , Game Maker Studio , MS Visual Studio .Net , Android Studio , Monkey , ...

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...