Displacement getting weard ... like minecraft?

Hi guys and girls!

Recently I’m studing how to proper use microdisplacement in blender, and I’m getting realy nice results.
But for some reason the final render got some weard blocks, like minecraft.

I’m using 8 bit displacement texture, so I know this can be the cause (maybe).

But how to fix that? Someone have any idea?
Or the only way to fix it is using a 16bit texture in the displacement?

That’s exactly the cause. 8 bit isn’t enough detail for displacement, only 256 shades per channel, whereas 16 bit has 65,536 shades

1 Like

And assuming you’re using regular displacement rather than vector displacement, only one channel is being used - it can only have 256 elevations in there. That said, sometimes the culprit isn’t the bit depth itself, but how that bit depth is utilized. If the texture shows up from black to white, then it’s as godd as it’s gonna get for that bit depth. If the texture is only from dark grey to slightly brighter, you’re only utilizing a fraction of what is available.

Technically, you could use a 3-channel 8-bit texture to store more information (rather than 1-channel) to get more information in, but it would likely look weird and not intuitive to work with. Alternatively, you could have 3 different height maps in there for different amplitudes and frequencies of detail - together they might be able to camouflage the output from the one with coarsest information. In short - 1r + 0.25g + 0.1*b or something. Even this simple addition gets you 768 levels rather than 256.