Jump to content

Wind effect adds visual bug to trees leafs added via vegetation system


Go to solution Solved by Josh,

Recommended Posts

Posted

I can't tell what is going on in that screenshot. Are the leaves moving? Is the shadow moving?

I created a test scene and saw nothing wrong.

  1. Create a new project.
  2. Install the Realistic Maple Trees asset.
  3. Extract this zip file to the project. This will overwrite one material file.
  4. Open the included scene in the editor.

windtest.zip

screenshot649.thumb.jpg.91ba8fb7aaaf54655fb13d6afeab1f30.jpg

Let's build cool stuff and have fun. :)

Posted

Okay, on my Nvidia card only, I am seeing a strange artifact, only on the vegetation layer instance, not the model.

 

Let's build cool stuff and have fun. :)

Posted

It happens in the editor too, You can enable real-time rendering with this:

It still occurs even if I disable shadows. Looks like the normal is being affected, and it's not lighting correctly? Hard to see because it just flashes on and off.

Let's build cool stuff and have fun. :)

Posted

Looks like it is bits of the background visible, as if the early z-pass depth value does not match the visible pass.

Let's build cool stuff and have fun. :)

Posted

As far as I can tell, it appears the early z and visible passes are producing slightly different results in the construction of the instance 4x4 matrix from a texture lookup, even when both shaders execute the same exact code. This causes a discrepency in the resulting normal, which causes some pixels to become invisible.

If I move lighting into a deferred step and eliminate the early z pass this problem will go away.

Let's build cool stuff and have fun. :)

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.

×
×
  • Create New...