-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Material doesn't have a texture property '_MainTex' #7
Comments
Hi, you can try to add this to the shader...
I have similar issues on another shaders, but this is a hotfix, lol. |
I tried but it seems not working... Can I ask if your fix is trying to "add a new texture to the shader" or "replace the texture of the _BaseMap texture"? |
I just added this to Properties, but this helps in another shader, not in this.
If this not works, so... I don't know, sorry. |
Hi,
I am very new to both unity and shader, and I come across your brilliant project.
I just tried to pull your code and import to a new project I loaded together with Unity-chan. I tried to change her body material to this project, but everything goes purple and the following error was thrown
Material 'body' with Shader 'SimpleURPToonLitExample(With Outline)' doesn't have a texture property '_MainTex' UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
I have tried to
_BaseMap (Albedo)
_BaseMap
to_MainTex
inSimpleURPToonLitOutlineExample.shader
but both does not work...
If it helps, I am using Unity version 2020.1.f11.
I am very new to these tools and concepts, I am sorry if I asked a stupid question.
The text was updated successfully, but these errors were encountered: