I’ve had the same problem, not finding that ‘DecalDerivative’.
HOWTO:
- Press ‘Space’ in the material and search for the ‘DecalDerivative’
- Select the ‘TextureSample’ node
- In it’s properties under the ‘Material Expression Texure Sample’ (right next to the place where you can set the texture) set the ‘MipValueMode’ from ‘None’ to ‘Derivative’
- The DDX/DDY properties will appear, and connect your ‘DecalDerivative’ node outputs there
I hope that somebody will find this useful.