# DomeProjection example low quality

**URL:** https://discourse.processing.org/t/domeprojection-example-low-quality/1519
**Category:** Coding Questions
**Created:** [July 5, 2018, 12:47pm UTC](https://discourse.processing.org/t/domeprojection-example-low-quality/1519 "2018-07-05T12:47:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ngd](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ngd/32/675_2.png) [@ngd](https://discourse.processing.org/u/ngd)
#### Post date: [July 5, 2018, 12:47pm UTC](https://discourse.processing.org/t/domeprojection-example-low-quality/1519/1 "2018-07-05T12:47:56Z")

</div>

Hello dear processing friends,

Ive bee experimenting with the DomeProjection example from the processing examples

> **[processing/processing-docs](https://github.com/processing/processing-docs/tree/master/content/examples/Topics/Shaders/DomeProjection)**
>
> Processing reference, examples, tutorials, and website - processing/processing-docs

Somehow the render/output quality is relatively low compared to other sketches.  
I ve tried to increase the resolution and the sphere detail but still the output is not really good.

Do you have any idea why and if that can be improved?

Thanks very much  
Max

---

<div class="post-metadata">

### Author: ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)
#### Post date: [July 6, 2018, 4:25pm UTC](https://discourse.processing.org/t/domeprojection-example-low-quality/1519/2 "2018-07-06T16:25:07Z")

</div>

Can you post a screenshot of what you mean with low quality?

Kf

---

<div class="post-metadata">

### Author: ![ngd](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ngd/32/675_2.png) [@ngd](https://discourse.processing.org/u/ngd)
#### Post date: [July 7, 2018, 12:36pm UTC](https://discourse.processing.org/t/domeprojection-example-low-quality/1519/3 "2018-07-07T12:36:37Z")

</div>

Yes sure, please have a look. You can see some stair stepping (pixelated). smooth was on smooth(8);  
sphereDetail(500);

 ![DomeProj_stairstepping](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/1X/6d87046e69f46ebc531a505a37ab467a9530210f.jpg)

Thanks and BR  
Max

---

<div class="post-metadata">

### Author: ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)
#### Post date: [July 7, 2018, 9:52pm UTC](https://discourse.processing.org/t/domeprojection-example-low-quality/1519/4 "2018-07-07T21:52:31Z")

</div>

You could change the strokeWeight. However, you still get some step-wise line artifacts due to the curvature effect. Not sure how that could be fixed in this case as I don’t do shaders. Maybe other ppl with more experience in the community or a bit of online research should give you hints what to try next.

Kf

 ![dome2](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/1X/281e5a7b895e05c104199ae3c5ba2c02a363d64b.PNG)

---

<div class="post-metadata">

### Author: ![ngd](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ngd/32/675_2.png) [@ngd](https://discourse.processing.org/u/ngd)
#### Post date: [July 9, 2018, 7:06pm UTC](https://discourse.processing.org/t/domeprojection-example-low-quality/1519/5 "2018-07-09T19:06:01Z")

</div>

Hello kfrajer,

thanks for your answer, yes the stroke weight was also my first idea, but you guessed right - I wanted to improove the step-wise artifacts. -\> Also the edges of the cube do look “pixelated”  
I will try and have a look at the shaders… maybe I can find something 😉

Thanks and BR  
Max
