- Home /
Material doesn't have a texture property '_ShadowOffset'
I'm creating a tree in Unity and when I add the default branch texture it says "Material doesn't have a texture property '_ShadowOffset'". This is because the material doesn't have the property 'ShadowOffset'. In the inspector on the tree's leaves and branch material they are missing 4 properties each: "Normalmap", "Gloss (A)", "Translucency (A)" and "Shadow Offset (A)". How do I get these properties? This is for the BigTree prefab that comes with the Tree Creator Standard Assets pack.
Answer by Doeko · Jan 22, 2014 at 04:56 PM
I recommend having a look at this class: https://docs.unity3d.com/Documentation/ScriptReference/ShaderUtil.html
It allows you to get a shader's properties.
Your answer
![](https://koobas.hobune.stream/wayback/20220613131139im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Fix Leaves as planes in URP? 0 Answers
Tree leaves lit up 1 Answer
Tree branches as mesh collider 1 Answer
Bad Leaves in Unity 2 Answers