Description

The ObjectScale node does not output the correct values in the material editor.
This method works to tile images with a Surface Material Domain on a basic plane, but does not work when using it with the Deferred Decal Material Domain, and the decal stretches instead.

Reported in version 4.25.3 (CL-13942748); tested in version 4.25.3 and version 4.24.3 (CL-11590370)

Steps to Reproduce
  1. Create a new material
  2. Set it to Deffered Decal material domain
  3. Add an ObjectScale node
  4. Do 1/ObjectScale
  5. Put it through a ScaleUVsByCenter node
  6. Put that though a Texture UV input
  7. Output the texture to emissive
  8. Put the material on a decal
  9. Try to scale the decal (not by using decal size but by using object scale)

Result: The texture does not stay the same size as you scale the decal object.

Expected: The texture should stay the same size as you scale the decal object because the texture scale is inversely proportional to the object scale.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-97213 in the post.

4
Login to Vote

Unresolved
ComponentUE - Rendering
Affects Versions4.244.25.3
Target Fix5.2
CreatedAug 19, 2020
UpdatedJul 20, 2022