Gets or sets the texture LOD Common texture resolutions array.
Array size must be same as TextureLODSteps property.
Valid values in the array are 0 (16 x 16) - 7 (2048 x 2048).
0 - 16 x 16 pixels,
1 - 32 x 32 pixels,
2 - 64 x 64 pixels,
3 - 128 x 128 pixels,
4 - 256 x 256 pixels,
5 - 512 x 512 pixels,
6 - 1024 x 1024 pixels,
7 - 2048 x 2048 pixels
The texture LOD Common array.
public class Example : MonoBehaviour
{
void Start()
{
PlanetManager.CreatePlanet(Vector3.zero);
PlanetManager.TextureDetailMode = PlanetManager.TextureDetailModes.LOD;
PlanetManager.TextureLODSteps = 5;
PlanetManager.TextureLODCommon = new int[5] { 7,6,5,3,1 };
PlanetManager.TextureLODPlanetSizes = new float[4] { 0.6f, 0.4f, 0.2f, 0.05f };
}
}
- See also
- TextureDetailMode, TextureLODSteps, TextureLODPlanetSizes, TextureLODComposition, TextureLODBiome, TextureLODClouds, TextureLODCities, TextureLODLava, TextureLODPolarIce, TextureLODGas