Jump to content

Shaders unsupported with -force-glcore


Recommended Posts

I've got a few shaders in RasterPropMonitor, but none of them work in Windows using -force-glcore.  The Shader.isSupported field returns false for all of them, and I don't understand why, since there are no messages at load time.

I'm currently generating them through Unity 5.2.4.  I don't see any status or error messages when generating the AssetBundle, so, again, I have no clue what I'm doing wrong.

Is there something special I'm supposed to do to make them work, or is there some secret handshake I'm supposed to do, or have I not hit my head on my desk hard enough?

I see other shaders working (such as EVE) in the same environment, but I haven't been able to divine change needs to be made, or why.  Can anyone provide me some insight?

Link to comment
Share on other sites

Unity => Edit => Project Settings => Player. Go to the tab with the down arrow (Setting for PC, Mac & Linux Standalone). In "Other Settngs"  Uncheck "Auto Graphic APIs for windows". Add the missing API with the +. Compile your shader again.

Link to comment
Share on other sites

@sarbian - thanks for the pointer.  In my installation, the checkbox was not set, and only "Direct3D9" was present.  However, even adding "OpenGLCore" did not fix the problem - the shaders still report unsupported when I fetch them from the AssetBundle.  There must be something else I did not do right.

Link to comment
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...