# Any ideas RE artifacts on a render?

**URL:** <https://forum.babylonjs.com/t/any-ideas-re-artifacts-on-a-render/59343>\
**Category:** Questions\
**Created:** [July 2, 2025, 8:27pm UTC](https://forum.babylonjs.com/t/any-ideas-re-artifacts-on-a-render/59343 "2025-07-02T20:27:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/simon/32/45590_2.png) [@simon](https://forum.babylonjs.com/u/simon)\
**Post date:** [July 2, 2025, 8:27pm UTC](https://forum.babylonjs.com/t/any-ideas-re-artifacts-on-a-render/59343/1 "2025-07-02T20:27:07Z")

</div>

Hi there!

I working on my creative project and I faced with some strange behaviour. I use DefaultRenderingPipeline and post process in my scene. The post process is pass-through at the moment, basically I just provide 2d coordinates to the render texture and thats it. So the issue I faced is that I have some kind of “posterization” when I use this postprocess. As I don’t have enough colors to draw an image. Here is the screenshots:

With this problematic effect:

 ![Снимок экрана от 2025-07-02 21-14-41](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/1/5/1589bc5b87a2d0a0ec5e7d503fda8741e34b3bff.jpeg)

Without effect:

 ![Снимок экрана от 2025-07-02 21-14-48](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/2/c/2c936f5657523d1d2248710392dbce88a650848c.jpeg)

I used curves in a 2d editor to make the issue more visible

If anybody faced, please share your thoughts.

This is the way I creating post process:

```ts
const postProcess = postProcessMaterial.createPostProcess(this._scene.activeCamera, 1, Constants.TEXTURE_LINEAR_LINEAR);
            postProcess!.samples = 16;

```

But I also tried to tweak some params:

```ts
const postProcess = postProcessMaterial.createPostProcess(this._scene.activeCamera, {
    textureType: Constants.TEXTURETYPE_FLOAT_32_UNSIGNED_INT_24_8_REV,
    defines: 'precision highp float;'
}, Constants.TEXTURE_LINEAR_LINEAR);

```

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [July 2, 2025, 8:56pm UTC](https://forum.babylonjs.com/t/any-ideas-re-artifacts-on-a-render/59343/2 "2025-07-02T20:56:57Z")

</div>

What if you create the post-process with texture type `Constants.TEXTURETYPE_FLOAT`?

---

<div class="post-metadata">

**Author:** ![simon](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/simon/32/45590_2.png) [@simon](https://forum.babylonjs.com/u/simon)\
**Post date:** [July 2, 2025, 9:26pm UTC](https://forum.babylonjs.com/t/any-ideas-re-artifacts-on-a-render/59343/3 "2025-07-02T21:26:36Z")

</div>

Already tried, no difference(

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [July 2, 2025, 10:33pm UTC](https://forum.babylonjs.com/t/any-ideas-re-artifacts-on-a-render/59343/4 "2025-07-02T22:33:43Z")

</div>

Can you share a repro ? It definitely looks like a wrong texture type somewhere in your pipeline.

---

<div class="post-metadata">

**Author:** ![simon](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/simon/32/45590_2.png) [@simon](https://forum.babylonjs.com/u/simon)\
**Post date:** [July 2, 2025, 11:26pm UTC](https://forum.babylonjs.com/t/any-ideas-re-artifacts-on-a-render/59343/5 "2025-07-02T23:26:22Z")

</div>

Well…) I’ll try) But I use DefaultRenderingPipeline. Maybe there is some property that allows to select texture type manually? Or do you said about texture type in my PostProcess?

Ok, I’ll try to reproduce the issue anyway

---

<div class="post-metadata">

**Author:** ![simon](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/simon/32/45590_2.png) [@simon](https://forum.babylonjs.com/u/simon)\
**Post date:** [July 2, 2025, 11:42pm UTC](https://forum.babylonjs.com/t/any-ideas-re-artifacts-on-a-render/59343/6 "2025-07-02T23:42:16Z")

</div>

I think I reproduced the behaviour in this PG

> **[Babylon.js Playground](https://playground.babylonjs.com/#WB27SW%23353)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL and WebGPU 3D scenes

But only when I use HDR

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [July 2, 2025, 11:57pm UTC](https://forum.babylonjs.com/t/any-ideas-re-artifacts-on-a-render/59343/7 "2025-07-02T23:57:33Z")

</div>

Your post process needs to be in float/half float to prevent banding artifacts: [https://playground.babylonjs.com/#WB27SW#354](https://playground.babylonjs.com/#WB27SW#354)

---

<div class="post-metadata">

**Author:** ![simon](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/simon/32/45590_2.png) [@simon](https://forum.babylonjs.com/u/simon)\
**Post date:** [July 3, 2025, 10:39am UTC](https://forum.babylonjs.com/t/any-ideas-re-artifacts-on-a-render/59343/8 "2025-07-03T10:39:30Z")

</div>

Yes, it works! Thank you!
