- Home /
Shield shader no longer working
Hi all,
I'm using this shader from the Unity Wiki to create a Forcefield/Shield. Everything was working perfectly, then for no apparent reason the effect just changed and doesn't work properly anymore! (screenshots included for before and after)
I didn't change anything to the shader code or the material I'm using with it. I've also tried re-inputing the code and re-creating the material just to be sure, but it's still not working...
Here are the screenshots: (first one is how it was before and how I want it to be)
Any ideas?
It seems that the uv's of the object the material is applied have changed. Is it a custom mesh, or is it a standard sphere from Unity?
It's a standard sphere, haven't changed anything to it. I also tried creating an entirely new sphere and applying the same material, but still getting the same problem...
Answer by haim96 · Jan 02, 2014 at 04:28 PM
did you try to change the tile parameter? it seems like the texture don't tile right. also try to change the texture image parameters.
I've tried changing the tile parameter, the tiling changes but stays messed up. Which parameter(s) should I change for the texture image?
EDIT: not sure how come this worked since the parameters all stayed the same, but I just deleted the texture image then re-imported and the problem has vanished! :P Thanks!
note that image textures have import parameters. i think it should be import as TEXTURE so it can be use as tiled texture.
Your answer
Follow this Question
Related Questions
Material doesn't have a color property '_Color' 4 Answers
How come edititng "_Glossiness" through script doesn't work? 1 Answer
Represent Land 3D Area End 0 Answers
Glowing material/shader ? 1 Answer
Changing Emission Scale UI with Script 0 Answers