LWCToFloat missing, Shader parameter changes from UE5 to 4.27.

Mirro1871
Sun, 17 Mar 2024 11:45:38 +0000
Rendering

How to implement LWCToFloat method in UE4.27 HLSL?

float3 localcampos = mul(float4(LWCToFloat(ResolvedView.WorldCameraOrigin), 1.00000000), (LWCToFloat(GetPrimitiveData(Parameters.PrimitiveId).WorldToLocal))).xyz;

4 posts - 4 participants