You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-basic unlit shader example using vertex color node (no error but I would expect to see the vertex colors defined by the model)
Input model from Maya:
Output in Cocos (with above graph):
Surface shader example:
Same model as used above with vert col passed to albedo:
Same but passed to emission:
Further, if I attempt something such as:
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)
The text was updated successfully, but these errors were encountered:
-basic unlit shader example using vertex color node (no error but I would expect to see the vertex colors defined by the model)
Input model from Maya:
Output in Cocos (with above graph):
Surface shader example:
Same model as used above with vert col passed to albedo:
Same but passed to emission:
Further, if I attempt something such as:
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)
The text was updated successfully, but these errors were encountered: