I’m currently trying to implement the 2x2 fix that is explained here:
***Decals may have 2x2 pixels block artifacts on edges as shown in the screenshot below. ***
*This is where the node “Decal Derivative” comes in. This node must be used carefully as it has a very big performance impact. It returns the derivatives on the X and Y axis of the decal’s default texture coordinates necessary for anisotropic texture filtering, but computed differently than using the hardware’s default and DDX/DDY nodes, to avoid this 2x2 pixel block artifact. *
How do I add this decal derivative node? I don’t see it anywhere to add it.
I’m trying to fix this problem:
The impactPoint and impactNormal are from the landscape. The lineTraceByObject only hits landscape, but for some reason it’s putting the decal on that static cylinder.
keyword - how to place decal landscape dynamic hit result impact point normal