Jump to content

Texture flickering


Andy90
 Share

Go to solution Solved by Andy90,

Recommended Posts

  • Andy90 changed the title to Texture flickering

It looks like the triangle indices are being modified in memory?...

I am not seeing anything wrong on an AMD 6600. What GPU is this occurring with?

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

  • Solution

An RTX 3060. Its kinda wired i test it in a new project without an issue. But in my game project it still occuring. Even with an empty map

https://streamable.com/l5f7uw

Seems its related to this line of code

camera->SetRange(0.001, 1000.0);

if i use this, the flickering is there. If i comment it out the flickering is starting you can see it in the video below

https://streamable.com/aehnbd

Link to comment
Share on other sites

Ah, that makes sense.

The depth range has a limited precision, so this is behaving pretty much as I would expect. What you are seeing is z-fighting.

My job is to make tools you love, with the features you want, and performance you can't live without.

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