forked from BilalY/Rasagar
2.6 KiB
2.6 KiB
IES importer reference
The High Definition Render Pipeline (HDRP) includes an importer to handle the .ies file format. When you add an IES profile to your project, the IES importer Inspector provides information and customization options for the internally used textures.
When you apply the import settings, the importer generates a Light Prefab as a sub-asset of the IED profile. You can drag the Prefab into the Scene view or Hierarchy to create an instance of a Light that uses the IES profile.
Properties
Property | Description |
---|---|
File Format Version | The internal format of the IES file. |
Photometric Type | The type of the photometric information the IES file stores. |
Maximum Intensity | The intensity the importer uses to generate Light Prefab. |
Manufacturer | Metadata about the manufacturer of the luminaire. |
Luminaire Catalog Number | Metadata about the catalog number of the manufacturer of the luminaire. |
Luminaire Description | Metadata about the luminaire. |
Lamp Catalog Number | Metadata about the catalog number of the manufacturer of the Lamp. |
Lamp Description | Metadata about the Lamp. |
Light Type | The Light type the importer uses to generate the Light Prefab. |
Spot Angle | The distribution of pixels in the projection of spot Light IES profiles. Spot Lights require a 2D texture and, to project the IES in 2D, HDRP uses an angle on the upper hemisphere for a proper projection (specifically, HDRP uses a Gnomonic projection). |
IES Size | The size of the texture generated. For spot and area Lights, this is the size of the 2D texture. For point Lights, this is the size of the Cubemap. |
Apply Light Attenuation | Specifies whether to take the distance to the light source into account for spot Lights to have correct light attenuation. |
IES Compression | The compression Unity uses for the internal texture. |
Use IES Maximum Intensity | Specifies whether to use the intensity stored in the IES File for the Prefab the importer generates. |
Aim Axis Rotation | You can use this parameter to determine which orientation Unity projects the IES in the texture. This is particularly useful for an IES that is less symmetrical. |