Unity Error: Material doesn’t have a texture property ‘_ShadowOffset’

Some textures will throw an error when you are trying to apply them. I encountered this when I tried to apply the BigTree_bark material to a tree branch. BigTree_branch did not give the error, so this is what I discovered:

Material doesn't have a texture property '_ShadowOffset'


The texture has a varaible for _ShadowOffset which is necessary for some uses. [source]

If you’re building a tree using the Tree Creator asset package, use the BigTree_branch material instead of the bark. I originally tried to edit the Shader itself to add _ShadowOffset, but it didn’t work. Using another texture or recreating the texture might be the best option.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: