Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add precission property to renderer component #3989

Merged
merged 1 commit into from
Feb 2, 2019

Conversation

dmarcos
Copy link
Member

@dmarcos dmarcos commented Jan 31, 2019

Setting mediump in mobile by defult resulted in very noticeable visual artifacts. It's better if the developers can set the value deliberately knowing the trade offs.

@dmarcos dmarcos force-pushed the fixAdreno branch 2 times, most recently from 2c5e6f4 to dd04a6a Compare January 31, 2019 23:50
@@ -32,6 +32,7 @@ The `renderer` system configures a scene's
| maxCanvasWidth | Maximum canvas width. Uses the size multiplied by device pixel ratio. Does not limit canvas width if set to -1. | 1920 |
| maxCanvasHeight | Maximum canvas height. Behaves the same as maxCanvasWidth. | 1920 |
| logarithmicDepthBuffer | Whether to use a logarithmic depth buffer. | auto |
| precision | Shader Precision | high |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should describe it more here, what it does, including the options. I'd almost just shove the whole paragraph from below into here, or at least link it.

@ngokevin
Copy link
Member

ngokevin commented Feb 1, 2019

r+wc

@dmarcos dmarcos force-pushed the fixAdreno branch 2 times, most recently from 14ffb98 to 854b0c5 Compare February 2, 2019 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants