Hi all,
I want to use a cubemap for my eye material as custom reflection, so i set up a scene and use a reflection probe to bake a HDR cubemap.
The problem is, a half4 value ‘unity_SpecCube0_HDR’ is required to decode the hdr color value:
float4 rgbm = UNITY_SAMPLE_TEXCUBE_LOD(unity_SpecCube0, reflUVW, mip);
float3 reflectColor = DecodeHDR_NoLinearSupportInSM2(rgbm, unity_SpecCube0_HDR);
I think the corresponding lightingData contains but without document i cant parse the binary data.
Anyone knows where to find it?