This commit is contained in:
biwa 2022-07-02 19:26:41 +02:00
commit 751439ed0e
2 changed files with 47 additions and 59 deletions

View file

@ -75,26 +75,11 @@ gzdoom_lights
{ {
title = "ZDRayInfo"; title = "ZDRayInfo";
class = "ZDRaySun"; // Fake class name class = "ZDRaySun"; // Fake class name
arg0 adduniversalfields
{ {
title = "Sun color"; lm_suncolor;
default = 16777215; lm_sampledistance;
str = true; lm_gridsize;
}
arg1
{
title = "Sample distance";
default = 8;
}
arg2
{
title = "Bounces";
default = 1;
}
arg3
{
title = "Probe grid size";
default = 32;
} }
} }
} }

View file

@ -376,22 +376,28 @@ universalfields
default = ""; default = "";
} }
lightcolorline lm_sampledist_line
{ {
type = 10; type = 0;
default = 16777215; default = 0;
} }
lightintensityline lm_sampledist_top
{ {
type = 1; type = 0;
default = 1.0; default = 0;
} }
lightdistanceline lm_sampledist_mid
{ {
type = 1; type = 0;
default = 0.0; default = 0;
}
lm_sampledist_bot
{
type = 0;
default = 0;
} }
} }
@ -729,6 +735,27 @@ universalfields
type = 1; type = 1;
default = 1.0; default = 1.0;
} }
lm_suncolor
{
type = 10;
default = 16777215;
thingtypespecific = true;
}
lm_sampledistance
{
type = 0;
default = 8;
thingtypespecific = true;
}
lm_gridsize
{
type = 1;
default = 32.0;
thingtypespecific = true;
}
} }
sector sector
@ -1033,40 +1060,16 @@ universalfields
default = false; default = false;
} }
lightcolorfloor lm_sampledist_floor
{ {
type = 10; type = 0;
default = 16777215; default = 0;
} }
lightintensityfloor lm_sampledist_ceiling
{ {
type = 1; type = 0;
default = 1.0; default = 0;
}
lightdistancefloor
{
type = 1;
default = 0.0;
}
lightcolorceiling
{
type = 10;
default = 16777215;
}
lightintensityceiling
{
type = 1;
default = 1.0;
}
lightdistanceceiling
{
type = 1;
default = 0.0;
} }
} }
} }