[Bug] TextureCropping Node not working

I tend to use a lot of texture cropping nodes to mask parts of a material and so I can make parts metallic, emissive and what not.
It seems this got broken in 4.1.

How it should work:

The problem visually:

Some things I found:

  1. If you set up the node in 4.02 and import it into 4.1 it still works until you touch it.
  2. If you copy the working setup from 4.02 or 4.1 it will work untill you touch it.
  3. In theory could use a material Object, which actually IS accepted by the 4.1 texturecropping node, but due to the lack of UV input it wont work.

For people who need to make use of the textureCropping node right now, but cant use it…
I uploaded a material with versions for the red, green and blue channels respectively.

Just place the content of the folder in your project folder and it (should) work.

Regards, Luos :slight_smile:

Hello,

Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes.

If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, please submit a new report for it.

Thank you.

Will test a.s.a.p.

You need to use a TextureObject node instead of a TextureSample

I dont fully agree with that, it worked fine before with a sample instead of object node.
Funny thing is, if I copy/paste the old setup with a texturesample from ue4.01 it works fine without any errors.
(i fully understand that it requires a object node for calculations, but the strange thing is, at the core that texture cropping node has not changed and works fine with the sample node)

Hello,

The issue that you are reporting for 4.1 was a fix that was implemented for materials that were not checking the values that were being passed into them in 4.0. This is what allowed you to preform the action in your first example picture. However, there is a way to work around the fix to achieve the same functionality you are requesting. I would be more than happy to grab Eric and have him explain the steps necessary to do so. If this is something you need please let me know.

Make it a great day

No worries, its fine :slight_smile: