URP Material Override Offset & Scale

Hi
I seen there are a few material overrides for various properties but haven’t seen one for modifying the texture scale and offset on the base map.

Is this feature supported yet? if not anything else i can do?

Thanks!

1 Like

Use MaterialPropertyAttribute and ShaderGraph.
So you can define you own instence Property
Somthing like

    [MaterialProperty("_DeformStrength", MaterialPropertyFormat.Float4)]
    public struct DeformBySpeed : IComponentData
    {
        public float4 Value;
    }

6426722--718577--upload_2020-10-17_9-12-32.png

2 Likes

ok i will try that, thank you!!

Is possible to export material/shader from urp project to simple 3D project(which packages we need to add etc)? For example we have an old project created by using template 3D project(unity version 2020.1.9) - we create then urp project develop some shader (using visual tool ShaderGraph) and then simply export it to 3D project - so is this possible?