Home Technical Talk

Jagged edges while baking

vertex
Offline / Send Message
MatiasP vertex

Hi. I'm baking a screw so that I can use it in my textures. There's an ugly white outline at the edges of the screw when I test the bake:


I think this is caused by the really rough edges present in the baked texture:


I tried baking in 4k and then scaling the image back to 1024x1024 in PS, but it didn't help. Is there a way to avoid those ugly edges without manipulating the baked texture image?

This is how I set up the bake (on Blender. I bake it on Blender too. I tried on SP as well, see below):



Notice the contrast between the edges of the screw and the screw hole. The screw hole is baked perfectly in a nice color gradient, and the edges of the screw are the opposite of that.

Same happens if I bake on Substance Painter (Baked with 8x AA)




Thanks!

Replies

  • Obscura
    Offline / Send Message
    Obscura grand marshal polycounter
    1. You should enable anti aliasing/super sampling
    2. How about looking at it from a reasonable distance ;)
  • huffer
    Offline / Send Message
    huffer interpolator
    If you want to fix those by hand - duplicate layer in Photoshop, Filter - Gaussian Blur until the jaggedness is smoothed, create a mask for this layer and only keep what you need visible. Also if you rescale the 4k image in Photoshop using a different scaling algorithm (softer) the jaggedness should dissapear.
  • ZacD
    Online / Send Message
    ZacD ngon master
    Focus on the things that really matter, once that screw is placed on a model using something like a 2048x2048 texture, it's going to be less than 100x100px and that tiny pixel thick artifact is going to be blurred to death. 
  • musashidan
    Offline / Send Message
    musashidan high dynamic range
    Although I agree that it's not worth obsessing over as it will never be seen that close......I also understand your compulsion to figure out WHY!! :) I think we CG artists are all like this. It's part of what drives the obsession.

    Make sure you have 'apply diffusion' checked as it sometimes helps with artifacting on floater bakes like this. It's a pixel blend post-process that's applied to the bake.

    And bear in mind that aliasing shows up on pure, clean, mirror-like materials like this much worse than a more realistic material that would have dirt/dust/scratches/grime/etc.
  • final_fight
    Offline / Send Message
    final_fight polycounter lvl 10
    If that screw's gonna be size of a planet, then of-course it's a problem...
Sign In or Register to comment.