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 type conversions in ShaderNode #23544

Merged
merged 2 commits into from
Feb 21, 2022
Merged

Add type conversions in ShaderNode #23544

merged 2 commits into from
Feb 21, 2022

Conversation

LeviPesin
Copy link
Contributor

Related issue: #23534

Description

This PR adds type conversions (except for vec234(), as they are already added) to the ShaderNode.
(I marked this PR as draft because bool(), uint(), and possibly buffer(), texture(), and mat234() are not added yet)

@sunag
Copy link
Collaborator

sunag commented Feb 21, 2022

I think that we can merge this for now and uint, buffer and texture in another PR?

@sunag sunag added this to the r138 milestone Feb 21, 2022
@LeviPesin
Copy link
Contributor Author

Okay ;-)

@LeviPesin LeviPesin marked this pull request as ready for review February 21, 2022 09:16
@sunag sunag merged commit 6ccadd1 into mrdoob:dev Feb 21, 2022
@sunag
Copy link
Collaborator

sunag commented Feb 21, 2022

Thanks! :)

@LeviPesin LeviPesin deleted the patch-1 branch February 21, 2022 09:22
donmccurdy pushed a commit to donmccurdy/three.js that referenced this pull request Mar 10, 2022
* Add type conversions to float, int, and color

* update code style

Co-authored-by: sunag <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants