-drag and drop into shelf, apply in Viewer Settings
- Works in linear space. There is an option to use it in gamma space(uncheck Linear Space checkbox) but i'm not sure if it is working 100%, Painter has linear space lighting after all.
- Switch to Linear Space in unity at Edit -> Project Settings -> Player -> Other Settings
https://docs.unity3d.com/Manual/LinearRendering-LinearOrGammaWorkflow.html
- more details about shader : http://damart3d.blogspot.com.by/2017/01/unity-5-shader-for-substance-painter.html#more
Uploaded: about 4 years ago
Updated: about 4 years ago
Version: 1
File Name: Unity5_5.glsl
Size: 9.39 KB
Thanks for this, it's definitely a time saver
Yes, this is a real time saver. It cut several steps out of my usual workflow. Thank you very much for this.
Will it work with Substance Designer? And if so, what is the proper way to install it?
Thank you so much, this really helps newer people who are just learning to integrate substance painter with Unity.
In Substance Painter it looks like roughness is inverted? 0 Roughness gives matte while 1 gives gloss.
kvekos it's due to how unity's standard shader works. Instead of Metal/Rough, Unity Standard Shader uses Metal/Gloss for the interface to be similar with the specular setup, thus the inversion.
The download's unity shader file "GLSL" is used in unity!
How do i open the glsl file in Unity?
Nvm, found out it was for Painter and not Unity :P
这个怎么用呢?
Hi, im kind of knew on Substance, anybody can tell me whats are the benefits of use this shader thinking in development my game on Unity?
thx you
getting some errors in the log
[Shader Helpers] [GLSL] texture2DLod() at line 126 is deprecated. Please use textureLod() instead.
[Shader Helpers] [GLSL] texture2D() at line 218 is deprecated. Please use texture() instead.
[Shader Helpers] [GLSL] texture2D() at line 230 is deprecated. Please use texture() instead.
[Shader Helpers] [GLSL] texture2D() at line 232 is deprecated. Please use texture() instead.
[Shader Helpers] [GLSL] texture2DLod() at line 126 is deprecated. Please use textureLod() instead.
[Shader Helpers] [GLSL] texture2D() at line 218 is deprecated. Please use texture() instead.
[Shader Helpers] [GLSL] texture2D() at line 230 is deprecated. Please use texture() instead.
[Shader Helpers] [GLSL] texture2D() at line 232 is deprecated. Please use texture() instead.
When you click on BruteForce all begins to lag.
Have Unity Shader for Substance Painter 2018.3???and can set Color Space.Becuase my game only support Gamma Space in Unity.the moblile of OpenGL 2.0 also need Support.so can not use Linear Space in Unity.
it's broken, with the following error:
[ResourceShader] Unity5_5:218 | 6(218) : error C1115: unable to find compatible overloaded function "texture(struct SamplerSparse, vec2)"