I get such error
Error [SM4] (Node TextureSample) Coercion failed: Parameters.TexCoords[0].xy: float2 → float3
just when I try to create a material from imported dxt5 dds cubemap texture (autogenerated material, tried many things and I can’t help it).
Does anyone know a possible solution for this? (Or should I put this in bug reports? :P)
Hey Lympho -
HDR Textures are a little different and require a Cubemap Parameter instead of the default Texture sample generated with the auto generated materials. You then will need either a reflection vector if you are using the HDR image as a ambient cubemap or a camera vector multiplied by (-1,-1,-1) if you are using it for a sky sphere.
Thank You
Eric Ketchum
1 Like