0
Under review

0.35 Bug : light map problem

The Vision 10 years ago updated by DAVID COOPER 10 years ago 3
Hi
when i Use light map or light prob check on a shader in SF 0.35 , shadows on the shader are like Cut Out !
Image 256
Under review
Not exactly sure that the issue is, but, shadows are always cutout-style, there are no soft shadows, apart from the post-effect soft shadow you can do in Unity pro. It's still a somewhat harsh effect though. Is this something you don't get with Unity's built-in shaders?
Hi there !

We have also this kind of problem happening ... In latest Unity 4.5.2f1



A strange thing happening is when we compile shaders there are some errors ... and there is no way for them to go away ...

Maximum number (64) of shader keywords exceeded, keyword DUMMY will be ignored
UnityEditor.AssetDatabase:Refresh(ImportAssetOptions)
ShaderForge.SF_Evaluator:SaveShaderAsset()
ShaderForge.SF_Evaluator:Evaluate()
ShaderForge.SF_Editor:DrawPreviewPanel(Rect)
ShaderForge.SF_Editor:OnGUI()
UnityEditor.DockArea:OnGUI()

Maximum number (64) of shader keywords exceeded, keyword PIXELSNAP_ON will be ignored
UnityEditor.AssetDatabase:Refresh(ImportAssetOptions)
ShaderForge.SF_Evaluator:SaveShaderAsset()
ShaderForge.SF_Evaluator:Evaluate()
ShaderForge.SF_Editor:DrawPreviewPanel(Rect)
ShaderForge.SF_Editor:OnGUI()
UnityEditor.DockArea:OnGUI()
ANd Also older shaders ( compiled with older versions prior to 0.35 this dont happen )
/ to help better debuguing this i attach in post 2 shaders one that happens and another that dont ....

For example This is a shader were this hard shadows do not appear

https://db.tt/lQucsRc7

But if we compile it ( exact same shader no changes ) garbage shadows appear 

https://db.tt/f2lh3Yuc

If we remove the ( lightmap support ) check off ... Things get back to normal .......

Kinda STrange stuff ... 

PS: There are some Customers complaining already about  this behavior ..  and assuming is shaderforge lack of support for lightmapping and yada yada ... (   https://www.assetstore.unity3d.com/en/#!/content/14365 = "Also, the shaders that come with this package (developed with ShaderForge) does not work with lightmapping"   ) ... What might make of this issue a top priority to be solved ..... sory to say ...

Hope is Fixed ... or there is some workaround , that let us compile without this kind of shadows garbage ...

THANKS SO MUCH !


 
UPDATE :


OK ! So after Testing it in Severall Projects ,
... we discovered this just happens With SKYSHOP Installed In same project ...


If you make a Complete new Project / Do not import Skyshop into it / And the Uggly Shadows Are not there ... 



SCreenShot above ( in a brand new project without skyshop ) Works right / and comproves it : ...

( As far we have seen this is its highly dependend on skyshop be installed or not ) ...
We can provide the Full Project Folder ( With Skyshop & the SItuation of the uggly shadows in post above )
 
If needed for Debugs ...

Thanks !

Cheers.