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
When we use the global variable redColor in getColor() method, after translated it to metal shader language, all variables defined in global scope will be skipped. It will make redColor undefined in getColor() method in msl: float3 getColor () { return redColor; }
It is a bit complicate and will take more time to fix the issues, thus we don't take this into account for the time being.
The text was updated successfully, but these errors were encountered:
Here is a simple fragment shader:
When we use the global variable redColor in getColor() method, after translated it to metal shader language, all variables defined in global scope will be skipped. It will make redColor undefined in getColor() method in msl:
float3 getColor () { return redColor; }
It is a bit complicate and will take more time to fix the issues, thus we don't take this into account for the time being.
The text was updated successfully, but these errors were encountered: