Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => Topic started by: a_bolog on 2020-07-24, 17:06:32

Title: Bad quality Baked Textures | Render-To-Texture
Post by: a_bolog on 2020-07-24, 17:06:32
I finally found out what the is happening and why my baking was so unpredictable.

I've tried to explain it in the screenshots.

Can any forgotten angel help me escape my misery? It took me ages to narrow it down to this and I have no idea how to fix it.
Title: Re: Bad quality Baked Textures | Render-To-Texture
Post by: romullus on 2020-07-24, 17:30:13
Oh wow, that looks like serious bug. Moving topic to bug reporting board.
Title: Re: Bad quality Baked Textures | Render-To-Texture
Post by: maru on 2020-08-07, 16:31:42
Confirmed and logged.
Workaround: lower the blur parameter of your bitmap node in the material editor.

(Internal ID=546685745)
Title: Re: Bad quality Baked Textures | Render-To-Texture
Post by: a_bolog on 2021-03-12, 19:29:54
Confirmed and logged.
Workaround: lower the blur parameter of your bitmap node in the material editor.

(Internal ID=546685745)

I've started using OSL bitmap node, and there is no blur parameter in the bitmap... How could I go around it?
Is there a way to globally disable blur for all corona rendering?
Title: Re: Bad quality Baked Textures | Render-To-Texture
Post by: maru on 2021-03-15, 17:04:01
Confirmed and logged.
Workaround: lower the blur parameter of your bitmap node in the material editor.

(Internal ID=546685745)

I've started using OSL bitmap node, and there is no blur parameter in the bitmap... How could I go around it?
Is there a way to globally disable blur for all corona rendering?

Yes, you have to enable development/experimental stuff rollout first (https://coronarenderer.freshdesk.com/support/solutions/articles/12000021288) and then switch "texmap filtering" to "none". But this will most likely give you some headaches because all textures will become pixelated.
Title: Re: Bad quality Baked Textures | Render-To-Texture
Post by: a_bolog on 2021-03-15, 17:46:57
Tried. Doesn't work. I think OSL uses Default Max Bitmap Filtering, I don't understand...

Atm, I'm positioning the viewport camera very close to the mesh and then bake
Title: Re: Bad quality Baked Textures | Render-To-Texture
Post by: cjwidd on 2021-06-27, 04:35:19
Yes, I too need to understand how to do this - how to adjust bitmap filtering / interpolation for OSL bitmaps / shaders?
Title: Re: Bad quality Baked Textures | Render-To-Texture
Post by: pokoy on 2021-06-27, 12:15:02
There is a filtering option in OSL but it's not exposed, although requested in beta... this request should go straight to Autodesk, the thing they are missing badly is production experience.
Title: Re: Bad quality Baked Textures | Render-To-Texture
Post by: cjwidd on 2021-06-27, 23:17:02
Hmm, thanks @pokoy

I see - that is disappointing. If any Coronauts know a workaround, please say so.
Title: Re: Bad quality Baked Textures | Render-To-Texture
Post by: Aram Avetisyan on 2023-02-20, 14:31:18
I finally found out what the is happening and why my baking was so unpredictable.

I've tried to explain it in the screenshots.

Can any forgotten angel help me escape my misery? It took me ages to narrow it down to this and I have no idea how to fix it.

Hi,

Have you tried baking the texture using Bake to Texture instead?
For my experience, in some cases Bake to Texture worked and worked more expected then Render to texture.