Download

How to add Variables to FGBufferData?

Hello

I’m trying to make a custom shading model with UnrealEngine 4.25.1’s code. I added two new material parameters and they appear fine in the editor, but I want to be able to access them through the FGBufferData in ShadingModels.ush
Does anyone know how to add variables from material parameters to FGBufferData?

Thanks in advance :slight_smile: