-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: almost 3 years ago
Updated: almost 3 years ago
Version: 1
File Name: Unity5_5.glsl
Size: 9.39 KB

DownloadblackDOWNLOAD



DISCUSS
almost 3 years ago

Thanks for this, it's definitely a time saver


over 2 years ago

Yes, this is a real time saver. It cut several steps out of my usual workflow. Thank you very much for this.


over 2 years ago

Will it work with Substance Designer? And if so, what is the proper way to install it?


over 2 years ago

Thank you so much, this really helps newer people who are just learning to integrate substance painter with Unity.


over 2 years ago

In Substance Painter it looks like roughness is inverted? 0 Roughness gives matte while 1 gives gloss.


over 2 years ago

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.


over 2 years ago

The download's unity shader file "GLSL" is used in unity!


over 2 years ago

How do i open the glsl file in Unity?


over 2 years ago

Nvm, found out it was for Painter and not Unity :P


over 2 years ago

这个怎么用呢?


about 2 years ago

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?


almost 2 years ago

thx you


almost 2 years ago

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.


almost 2 years ago

When you click on BruteForce all begins to lag.


10 months ago

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.