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

Tightening technique.parameter.functions #705

Closed
lexaknyazev opened this issue Sep 7, 2016 · 2 comments
Closed

Tightening technique.parameter.functions #705

lexaknyazev opened this issue Sep 7, 2016 · 2 comments

Comments

@lexaknyazev
Copy link
Member

Since technique.parameter.functions map directly to GL calls, it could be reasonable to restrict allowed float values:

  • blendColor: Floating-point value clamped to [0; 1]

  • depthRange: Floating-point value clamped to [0; 1]. Also, WebGL-specific limitation:

    WebGL API does not support depth ranges with where the near plane is mapped to a value greater than that of the far plane.

@pjcozzi
Copy link
Member

pjcozzi commented Sep 7, 2016

+1 from me. Can you please open a PR?

@pjcozzi
Copy link
Member

pjcozzi commented Jun 15, 2017

Updated in #826

@pjcozzi pjcozzi closed this as completed Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants