Skip to reading
PCA Script Programming

set_retro_style()

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Set Retro Rendering Style | Action ID: SetRetroStyle

Choose the retro screen treatment: none, PSX, N64 or horror fog, with strength and pixel size.

Source table from set_retro_style(), page 137
Option key / fieldMeaning and accepted inputDefault
Retro Rendering Style styleChoose: none, psx, n64, horror-fog."psx"
Strength strengthNumber; decimals allowed. Range: 0 to 1.1.0
Retro Pixel Size pixelSizePixel-block size for the retro screen treatment. Range: 1 to 16.3.0

Timing. The call waits for its runtime routine to return; no additional completion wait is promised by this schema.

Code example
set_retro_style({"style": "psx", "strength": 1.0, "pixelSize": 3.0})

In use. Apply a restrained PSX look to a dream, then restore none afterward. These are screen treatments; they are not a replacement for modeling geometry in a particular console style or for physical scene fog.

Page 137 of 357Permalink
Go to page