Jump to content

Help with KVV - Material Shader to string Deprecated


Recommended Posts

@sarbian & @MOARdV thanks again for you help.

Now when I'm loading my shaders in the 'isSupported' flag is set to false for one of the shaders I'm testing with.  I uploaded all my shaders to the Assets/ on github.  As far as I can tell the KSP Assets bundle fine but when I run KSP I get

KVV: Shader KVV/Color Adjust - unsupported in this configuration

which is coming from here.  I couldn't find any google results. Any ideas?

[EDIT] 


NVM!

Edited by bigorangemachine
Link to post
Share on other sites

@bigorangemachine   Try this in Unity :

Edit => Project Settings => Player. On the panel that shows up on the right select the "PC, Mac & Linux Standalone" tab (2nd tab, the arrow). Expand the "Other Settings" and uncheck "Auto Graphic API for Windows" and "Auto Graphic API for Linux". Then press the + signs to set it up like that

KSP runs on DX9 by default but Unity will compile the shaders for DX11 by default. That way your shaders have all the required versions.

 

Edit : you may have to recreate the bundle to be sure they are updated.

Edited by sarbian
Link to post
Share on other sites
39 minutes ago, sarbian said:

@bigorangemachine   Try this in Unity :

Edit => Project Settings => Player. On the panel that shows up on the right select the "PC, Mac & Linux Standalone" tab (2nd tab, the arrow). Expand the "Other Settings" and uncheck "Auto Graphic API for Windows" and "Auto Graphic API for Linux". Then press the + signs to set it up like that

KSP runs on DX9 by default but Unity will compile the shaders for DX11 by default. That way your shaders have all the required versions.

 

Edit : you may have to recreate the bundle to be sure they are updated.

Thanks @sarbian, I'm sure that helped but the error didn't go away.  I triple checked everything and deleted my .meta files

 

My Log still has this.  I'm worried about those warnings.


WARNING: Shader Unsupported: 'KVV/Color Adjust' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Color Adjust' - Setting to default shader.
KVV: ShadersLoaded
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

WARNING: Shader Unsupported: 'KVV/Bumped' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Bumped' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Bumped' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Bumped' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Bumped' - All passes removed
WARNING: Shader Unsupported: 'KVV/Bumped Specular' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Bumped Specular' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Bumped Specular' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Bumped Specular' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Bumped Specular' - All passes removed
WARNING: Shader Unsupported: 'KVV/Color Adjust' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Color Adjust' - Setting to default shader.
WARNING: Shader Unsupported: 'KVV/Alpha/Cutoff' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Alpha/Cutoff' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Alpha/Cutoff' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Alpha/Cutoff' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Alpha/Cutoff' - All passes removed
WARNING: Shader Unsupported: 'KVV/Diffuse' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Diffuse' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Diffuse' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Diffuse' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Diffuse' - All passes removed
WARNING: Shader Unsupported: 'KVV/Hidden/Edge Detect Normals' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Hidden/Edge Detect Normals' - Setting to default shader.
WARNING: Shader Unsupported: 'KVV/Hidden/Edge Detect Normals2' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Hidden/Edge Detect Normals2' - Setting to default shader.
WARNING: Shader Unsupported: 'KVV/Emissive/Bumped Specular' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Emissive/Bumped Specular' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Emissive/Bumped Specular' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Emissive/Bumped Specular' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Emissive/Bumped Specular' - All passes removed
WARNING: Shader Unsupported: 'KVV/Emissive/Specular' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Emissive/Specular' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Emissive/Specular' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Emissive/Specular' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Emissive/Specular' - All passes removed
WARNING: Shader Unsupported: 'KVV/Specular' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Specular' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Specular' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Specular' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Specular' - All passes removed
WARNING: Shader Unsupported: 'KVV/Unlit' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Unlit' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Unlit' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Unlit' - Pass 'PREPASS' has no vertex shader
WARNING: Shader Unsupported: 'KVV/Unlit' - All passes removed
KVV: Shader KVV/Color Adjust - unsupported in this configuration
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

KVV: Shader KVV/Hidden/Edge Detect Normals - unsupported in this configuration
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

KVV: Shader KVV/Hidden/Edge Detect Normals2 - unsupported in this configuration
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

KVV: Shader KVV/Color Adjust - unsupported in this configuration

Player Settings Here

Edited by bigorangemachine
Player Settings
Link to post
Share on other sites
2 hours ago, bigorangemachine said:

Thanks @sarbian, I'm sure that helped but the error didn't go away.  I triple checked everything and deleted my .meta files

I have the same problem - I can not get shaders to work with -force-glcore, and I also see messages in the log about missing vertex shaders, etc:

Quote

WARNING: Shader Unsupported: 'RPM/CroppedDisplayShader' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'RPM/CroppedDisplayShader' - Setting to default shader.
WARNING: Shader Unsupported: 'RPM/Blur' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'RPM/Blur' - Setting to default shader.
WARNING: Shader Unsupported: 'RPM/DisplayShader' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'RPM/DisplayShader' - Setting to default shader.
WARNING: Shader Unsupported: 'RPM/FontShader' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'RPM/FontShader' - Setting to default shader.
WARNING: Shader Unsupported: 'RPM/Grayscale' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'RPM/Grayscale' - Setting to default shader.
WARNING: Shader Unsupported: 'RPM/Greenscale' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'RPM/Greenscale' - Setting to default shader.
WARNING: Shader Unsupported: 'Standard' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'Standard' - Pass 'FORWARD_DELTA' has no vertex shader
WARNING: Shader Unsupported: 'Standard' - Pass 'SHADOWCASTER' has no vertex shader
WARNING: Shader Unsupported: 'Standard' - All passes removed
WARNING: Shader Unsupported: 'Standard' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'Standard' - Pass 'FORWARD_DELTA' has no vertex shader
WARNING: Shader Unsupported: 'Standard' - Pass 'SHADOWCASTER' has no vertex shader
WARNING: Shader Unsupported: 'Standard' - Pass 'DEFERRED' has no vertex shader
WARNING: Shader Unsupported: 'Standard' - All passes removed
WARNING: Shader Unsupported: 'RPM/JSILabel' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'RPM/Noise' - Pass '' has no vertex shader
WARNING: Shader Unsupported: 'RPM/Noise' - Setting to default shader.
 

What's annoying is that most of these shaders are using Unity's provided vertex shaders (such as vert_img), although some (such as CroppedDisplayShader) have the vertex shader right there in the source.

Link to post
Share on other sites
4 hours ago, sarbian said:

I am afraid I can't help more. All I can say is that it worked for my simple shaders

I am sure there is a configuration problem in my Unity installation.  None of my shaders are terribly fancy, and an Internet search shows that it's not an unheard of problem, but I have not found a solution.

Link to post
Share on other sites
53 minutes ago, MOARdV said:

I am sure there is a configuration problem in my Unity installation.  None of my shaders are terribly fancy, and an Internet search shows that it's not an unheard of problem, but I have not found a solution.

No related but I remember it now. I saw that and thought about RPM 

Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...