0
À l'étude

OpenGl Shader Looks Black

고정근 il y a 9 ans mis à jour par Freya Holmér (Developer) il y a 9 ans 8
OpenGl Shader Looks Black (Unity 4.6.1)
Image 392

Image 391

Solution

Solution
Pas un bug
That's probably because you're on Windows, which defaults to DirectX. It will still work on OpenGL platforms, so, enable both!
Solution
Pas un bug
That's probably because you're on Windows, which defaults to DirectX. It will still work on OpenGL platforms, so, enable both!
OpgnGL platroem - galaxy 3 screenshot. It doesn't work.

À l'étude
Go to experimental settings and force Shader Model 2.0. Also, are you getting any errors on build?
0 warning, 0 error
force shader model 2.0




Look in the build log to see if you find any errors there

no error in there.
am i missing any settings?
version(v1.06) problem?
bulid log has warnings
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
WARNING: Shader Unsupported: 'VertexLit' - Pass 'SHADOWCOLLECTOR' shader state not supportedWARNING: Shader Unsupported: 'Diffuse' - Pass 'SHADOWCOLLECTOR' shader state not supported
WARNING: Shader Unsupported: 'Custom/NewShader' - Pass 'SHADOWCOLLECTOR' shader state not supported
WARNING: Shader Unsupported: 'Custom/NewShader' - Pass 'FORWARDBASE' shader state not supported

Native extension for build target not foundWARNING: Shader Unsupported: 'Shader Forge/Examples/LightWrapping' - Pass 'SHADOWCOLLECTOR' shader state not supported
WARNING: Shader Unsupported: 'Custom/Rim' - Pass 'SHADOWCOLLECTOR' shader state not supported
WARNING: Shader Unsupported: 'Custom/Rim' - Pass 'FORWARDBASE' shader state not supported
WARNING: Shader Unsupported: 'Shader Forge/HalfRambert' - Pass 'SHADOWCOLLECTOR' shader state not supported
WARNING: Shader Unsupported: 'Shader Forge/Examples/LightWrapping' - Pass 'SHADOWCOLLECTOR' shader state not supported
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Disable lighting in the lighting settings