Scene depth pass showing color artifcats

Please help me I am noob in 3d .. can u please check this image and let me know what I am doing wrong . I tried to render the scene and I want the scene depth render pass but I am facing this issue

Hello there @Narend.s8!

That screnshot looks like heavy artifacting affecting your rendered scene. It could be related to a conflict wth your current set of drivers, or a GPU malfunction (since that’s a LOT of artifacts on screen). Have you encountered this problem in other projects? Or playing a game in your PC?

The best approach here would be to perform a clean install of your video drivers. First, use any free uninstaller to remove the current ones, then install the latest drivers. If available, use Developer drivers, as those are the most stable for engine work.

If the issue persists after that, test running any benchmark software on your GPU, and check for any conflicts or artifacts popping up during testing.

Finally, per the engine itself, double-check your rendering settings. There are multiple ways to set them up for different types of render, I would start with something simple, for a cinematic look:

No I haven’t tried other project bt this same artifacts are with other passes also for example with metalic or roughness pass

Welcome to the forum.

the above response sounds like chatgpt to me. it makes no sense to the actual issue.

can you show the scene how it looks? so i can infer actually what the real error is?

if you’re a beginner chances are that you’re using the wrong pixel format (rgb8/float8/float16/uint etc)

seems to me like that’s the case. you might think you are using a rbga8 when it might be just a grey32 or grey16.

if you’re sampling the scene depth that’s usually a grey value (one scalar value, from 0 to very large, (possibly a 16 or 32 bit floating point)). should not be using rgb, just one channel.

try using it like it’s done here.

if you’re new to game programming, it’s usually a good idea to do a search online too.

though in your case i assume you might not know what to look for.