Jump to content

LOD popin is bad


Go to solution Solved by Alienhead,

Recommended Posts

Posted

I've been gone for a weeks worth of updates, this bug wasn't happening a week ago so it started somewhere between last week and yesterdays updates.

Horrible looking LOD pop in on terrain mesh layers.  I guess it's on mesh layers only, could be something else because some of that pop in isnt LOD anyways.

 

 

 

 

 

  • Like 1
Posted

That does not look like what we commonly call "LOD popping". It looks more like a problem with the way the compute shader is writing memory...

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

Posted

@Alienhead You can add this to the very end of the main function in Shaders/PBR/Fragment.glsl:

    //Check for NAN values
    if (isnan(outColor[0].r) || isnan(outColor[0].g) || isnan(outColor[0].b) || isnan(outColor[0].a) )
    {
        outColor[0] = vec4(1,0,1,1);
    }

This will provide a visual cue if the outputted color is a NAN value.

I have tried this on an AMD card but I do not have any scene that produces this problem.

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

  • 8 months later...

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...