0
Не ошибка

Global Texture gets reset every time you load up the shader

Scott Richmond 9 лет назад обновлен David Miranda 9 лет назад 4
Setting Global Textures appears to work, however if you shutdown Unity and reload it and the shader the Texture nodes will be reset to normal and won't look like Global Textures anymore.

Ответ

Ответ
Не ошибка
That's simply how Unity works at the moment, so there's nothing I can do about it. Another annoying thing with it, is that I can't read global variables either, they're write-only on the C# level, which is why I've locked editing them in SF.

I added a feature request for this, feel free to vote on it!
http://feedback.unity3d.com/suggestions/shader-dot-getglobalfloat-slash-shader-dot-getglobalcolor-methods
На рассмотрении
What do you mean by global textures? A Texture 2D global variable?
Ответ
Не ошибка
That's simply how Unity works at the moment, so there's nothing I can do about it. Another annoying thing with it, is that I can't read global variables either, they're write-only on the C# level, which is why I've locked editing them in SF.

I added a feature request for this, feel free to vote on it!
http://feedback.unity3d.com/suggestions/shader-dot-getglobalfloat-slash-shader-dot-getglobalcolor-methods

Сервис поддержки клиентов работает на платформе UserEcho