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

vertex color node not behaving as expected + errors #14

Open
trobins78 opened this issue Feb 21, 2024 · 1 comment
Open

vertex color node not behaving as expected + errors #14

trobins78 opened this issue Feb 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@trobins78
Copy link

trobins78 commented Feb 21, 2024

-basic unlit shader example using vertex color node (no error but I would expect to see the vertex colors defined by the model)
image

Input model from Maya:
image
Output in Cocos (with above graph):
image

Surface shader example:
image
Same model as used above with vert col passed to albedo:
image
Same but passed to emission:
image

Further, if I attempt something such as:
image

I get the following error:
[Assets] Cannot read property 'dependencies' of null
TypeError: Cannot read property 'dependencies' of null
at D:\Work_Related\GITHUB_REPOS\playspace\extensions\shader-graph\src\importer\utils-3.8.ts:40:37
at C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\node_modules@editor\source\index.ts:21:9
at Array.forEach ()
at forEach (C:\ProgramData\cocos\editors\Creator\3.8.2\resources\app.asar\node_modules@editor\source\index.ts:20:22)
at generateEffectAsset (D:\Work_Related\GITHUB_REPOS\playspace\extensions\shader-graph\src\importer\utils-3.8.ts:39:5)
at ShaderGraph380.import (D:\Work_Related\GITHUB_REPOS\playspace\extensions\shader-graph\src\importer\shader-graph-3.8.ts:38:13)

@trobins78 trobins78 added the bug Something isn't working label Feb 21, 2024
@trobins78
Copy link
Author

Please let me know if there are ways that I can work around these issues as the editor matures. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant