Skip to content

Commit 0ef8a3c

Browse files
Added cookie field
1 parent 8c46c02 commit 0ef8a3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

proto/decentraland/sdk/components/light_source.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ message PBLightSource {
1010
float brightness = 2; // range from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot
1111
float range = 3; // default = 10, expressed in meters
1212
ShadowType shadow = 5; // default = ShadowType.ST_NONE
13+
Texture cookies = 8; // (optional) Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window.
1314

1415
oneof type {
1516
Point point = 6;
@@ -19,7 +20,7 @@ message PBLightSource {
1920
message Point {}
2021

2122
message Spot {
22-
float inner_angle = 1; // default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0
23+
float inner_angle = 1; // default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0. Max value is 179
2324
float outer_angle = 2; // default = 30. Outer angle can't be lower than inner angle, otherwise will inner angle will be set to same value. Max value is 179
2425
}
2526

0 commit comments

Comments
 (0)