Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# SpaceTileEffectParameters - Prototype Docs

## SpaceTileEffectParameters :: struct

Nebulae are rendered only behind tiles with the effect, but stars are rendered behind entire terrain. For that reason using two or more tile types with different space effect on one surface is not supported. The game will allow this to happen, but rendering will chose one star configuration for entire screen.

Zoom is recalculated using formula `max(1/1024, pow(max(0, zoom * base_factor + base_offset), exponent) * factor + offset)`.

## Properties

- default
- sorted

scroll_factor optional | :: float |
zoom_base_factor optional | :: float |
zoom_base_offset optional | :: float |
zoom_exponent optional | :: float |
zoom_factor optional | :: float |
zoom_offset optional | :: float |
nebula_scale optional | :: float |
nebula_brightness optional | :: float |
nebula_saturation optional | :: float |
star_density optional | :: float |
star_scale optional | :: float |
star_parallax optional | :: float |
star_shape optional | :: float |
star_brightness optional | :: float |
star_saturations optional | :: float |

nebula_brightness optional | :: float |
nebula_saturation optional | :: float |
nebula_scale optional | :: float |
scroll_factor optional | :: float |
star_brightness optional | :: float |
star_density optional | :: float |
star_parallax optional | :: float |
star_saturations optional | :: float |
star_scale optional | :: float |
star_shape optional | :: float |
zoom_base_factor optional | :: float |
zoom_base_offset optional | :: float |
zoom_exponent optional | :: float |
zoom_factor optional | :: float |
zoom_offset optional | :: float |

## Properties

### scroll_factor :: float optional

Default: `0.25`

### zoom_base_factor :: float optional

Default: `0.25`

### zoom_base_offset :: float optional

Default: `0.75`

### zoom_exponent :: float optional

Default: `1`

### zoom_factor :: float optional

Default: `1`

### zoom_offset :: float optional

Default: `0`

### nebula_scale :: float optional

Default: `0.9`

### nebula_brightness :: float optional

Default: `0.5`

### nebula_saturation :: float optional

Default: `0.9`

### star_density :: float optional

Default: `0.01`

### star_scale :: float optional

Default: `100`

### star_parallax :: float optional

Default: `0.06`

### star_shape :: float optional

Default: `1.666`

### star_brightness :: float optional

Default: `1`

### star_saturations :: float optional

Default: `0.5`

Type used in

- TileEffectDefinition::space