ThatOpen / engine_components

MIT License
350 stars 134 forks source link

Outlines are not smooth #526

Open pstowasser01 opened 3 weeks ago

pstowasser01 commented 3 weeks ago

Describe the bug 📝

When using the postproduction.customEffects I want to add an outline to my fragments as without it looks blank and feels somewhat difficult to identify where specific elements end or begin.

To add this I am enabling postproduction, set the customEffects.linecolor and exclude my grid mesh from this customEffect. I also create my renderer with the WebGLRenderParameter "antialias: true" from which I hoped to smooth the edges my elements...

The elements on their own DO have a smooth edge but the outlines are still pixilated like shown in the following screenshots:

*postproduction.enabled = false (to stop drawing outlines) image

*enabled postproduction and everything I was talking above: image

Reproduction ▶️

No response

Steps to reproduce 🔢

System Info 💻

Using following dependencies:
 "@thatopen/components": "^2.3.18",
 "@thatopen/components-front": "^2.3.13",
 "@thatopen/fragments": "^2.3.0",
 "@thatopen/ui": "^2.3.1",
 "@thatopen/ui-obc": "^2.3.4",

Used Package Manager 📦

npm

Error Trace/Logs 📃

No response

Validations ✅

agviegas commented 2 weeks ago

Hello @pstowasser01 we are aware of this issue and we are working on a better postproduction renderer that solves this problem. We will keep you updated!