+2
Wird überprüft
Specular and Gloss 2D texture error on Deferred.
Hi Joachim,
Im having problems to set a PBL shader with Deferred Pre-Pass. This is the error when I try to plug a 2D texture to Specular or Gloss (Unity 4.5):
Shader error in 'Shader Forge/IBL+TessTest': undeclared identifier 'node_150' at line 575
And thats the node setup (with energy concerving and Double incoming light enabled):
Im having problems to set a PBL shader with Deferred Pre-Pass. This is the error when I try to plug a 2D texture to Specular or Gloss (Unity 4.5):
Shader error in 'Shader Forge/IBL+TessTest': undeclared identifier 'node_150' at line 575
And thats the node setup (with energy concerving and Double incoming light enabled):
Customer support service by UserEcho
Well now, the line of the error is 578.
When i use a color node there is no problem.
If you disconnect the Tess/Disp node trees, does it work?
With forward there is no problems, its only in deferred. Maybe a problem with unity 4.5?
The error is still that:
Shader error in 'Shader Forge/IBL+TessTest': undeclared identifier 'node_150' at line 216
And the other error im getting:
Serialization depth limit exceeded at 'ShaderForge::SF_PreviewSettings'. There may be an object composition cycle in one or more of your serialized classes.
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.WindowLayout:LoadWindowLayout(String, Boolean)
When I disable Lightmap support it works perfectly, I can connect RGB to Specular and Alpha to Gloss and there is no crash.
Can it be a bug?
A Value works. A bitmap does not.
I also have tried remapping the red channel from the bitmap from 0-255 to 0-1. no go.
It seams the bug is in the use of the actual texture.