Developer Notes

Not a bug.

If you convert a texture sample to a parameter it requires that you set the Texture property.
This is the "Requires Texture2D" error.
Adding the make materials attributes node simple reports that there was an error on the incoming base color pin.

Description

When creating a Material Function for the use in a Layered material setup using the Make Material Attributes Node, you cannot use a Texture Sampler Parameter.

Also Reproduced in Main Promotable-CL-2479729

Steps to Reproduce
  1. Open QAGame Editor
  2. Create a New Material Function
  3. Add a 'Make Material Attributes' Node
  4. Add a Texture Sample
  5. Add a Texture Object plugged into the Tex Input of Texture Sample
  6. Convert Texture Sample to a Parameter
  7. Plug-in Texture Parameter into Base Color

RESULTS: [SM5](Node TextureSampleParameter2D>Requires Texture2D Error [SM5] (Node MakeMaterialAttributes) Error on property BaseColor

EXPECTED: No Errors generated

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Non-Issue
ComponentUE - Graphics Features
Affects Versions4.7.24.7.34.8
Target Fix4.9
CreatedMar 17, 2015
ResolvedJul 8, 2015
UpdatedApr 27, 2018
View Jira Issue