Support => Other Packages => Topic started by: jfouch on July 19, 2014, 03:47:28 PM
Title: Space Game Starter Kit: Shaders not working
Post by: jfouch on July 19, 2014, 03:47:28 PM
I recently purchased the space game starter kit and everything is working but the shaders. It shows pink for the initial space ship(spawn/being hit effect/space bar effect), planet, and inside the space station. I have all my project -> quality settings set to fantastic. My gpu is a GeForce GTX 660 Ti. Has anyone had this problem with this kit? If so do you know how to fix it?
Title: Re: Space Game Starter Kit: Shaders not working
Post by: ArenMook on July 20, 2014, 11:47:05 AM
Can you post a pic? Did you just import the package into a new project, and nothing else? When you select the shaders used by the pink materials, do you see errors? What's the target platform? (DX11?)
Title: Re: Space Game Starter Kit: Shaders not working
Post by: jfouch on July 20, 2014, 01:14:08 PM
See the attached image. The target platform is DX11. I imported the package into the project directly from the assets store. I do not see any error whenever the project is running.
Title: Re: Space Game Starter Kit: Shaders not working
Post by: ArenMook on July 20, 2014, 07:19:12 PM
Right -- change the platform to something other than DX11. SGSK is an old package, DX11 didn't exist back then.
Title: Re: Space Game Starter Kit: Shaders not working
Post by: ArenMook on July 20, 2014, 07:38:30 PM
If you want them to work on DX11, you will need to do the following modifications to the shaders:
1. DistortionOne.shader -- remove this:
// Upgrade NOTE: excluded shader from DX11 and Xbox360; has structs without semantics (struct v2f members distortion)