stfexp.light

A real-time rendering friendly light-source. It can represent pointlights, directional lights & spotlights.

Implementations

Blender

bpy.types.Light

Module

Unity

Light

Module
Default Processor

Godot

Light3D

Module

Properties

Key

Required

Type

Description

light_type

Yes

string

Possible values are: “point”, “directional”, “spot”

brightness

Yes

float

color

Yes

list[float]

Light color

temperature

No

float

If set, the color will be used as the tint

shadow

No

boolean

Whether this light casts shadows

range

If light_type is “point” or “spot”

float

spot_angle

If light_type is “spot”

float

Json Example

"e21e75ef-fc71-4970-b127-47873b09ce90": {
	"type": "stfexp.light",
	"name": "",
	"light_type": "spot",
	"range": 8.0,
	"spot_angle": 1.3089969158172607,
	"brightness": 1000.0,
	"color": [
		1.0,
		0.046901725232601166,
		0.6305924654006958
	],
	"temperature": 6500.0,
	"shadow": true
},