Jump to content

Decals trembling


Go to solution Solved by Genebris,

Recommended Posts

Posted

Update: Tested on 512 map, no bug so occurs only on 4096 terrain, but can't tell why

Update 2: It seems it is trembling only at the begin and at the end of a camera move. While the camera is moving it is ok.

 

 

Posted

If it doesn't happen with decals that are close to the center of the scene, then I think this is just 32-bit  floating point precision in action.

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

Posted
3 minutes ago, Josh said:

I think this is just 32-bit  floating point precision in action.

Right it is not tembling in the middle of the map, ok.

But do you know how to fix this? Or that would mean for my game design no roads after range (x,y) ?

 

 

Posted
5 hours ago, Marcousik said:

One thing I don't understand if why does the trembing not appear in the preview editor?

I think it has to do with the Occlusion Culling system that is disabled in the editor.

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted

Ok maybe? But is that not strange that everything goes ok at the edges of a map... except decals?

I mean shadows, models, cng, emitters all work fine ,but decals are trembling. I m bit disappointed, it would have built good roads effects.

 

 

Posted
6 hours ago, Genebris said:

Have you tried lowering camera far clip / increasing near clip? Just in case this is due to depth buffer precision somehow.

I don't know about that. Could you give me details, where/how? Function?

  • Upvote 1

 

 

Posted

How performant are decals? Did anyone have an idea how much of them a map will support (approximativly)

I hope decal isn't that heavy because it has no shadow, no physics, no shape.

 

 

Posted

 

This will largely depend on the hardware power of the computer, so it is then up to me to implement a menu of drawing distance options for these objects, and for the end user to change these parameters to optimize performance.

Decals have draw distance parameters

 

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted

Something I was thinking is that decal textures trigger mipmaps that far away degrades the quality of the texture, all this helps the performance of the decal that when far away does not show in high quality.

 

 

Astrocuco.thumb.png.c76e0fb3de2d6e437e7dca099625e11e.png

Posted

Yeah everything depending on the PC configuration, but overall I did a quick performance test and the results are incredible good:

That means more than 1600 decals be rendered at max view setting, tracing 6 roads over a 4096 map by 55-60 FPS

20220801111244_1.thumb.jpg.bd45726f63369aff6ca99474ea9bb99d.jpg

Video Card GTX 1660 - 6Gb

  • Like 1
  • Haha 1

 

 

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