2023-06-23 13:01:25 +00:00
|
|
|
{
|
2023-07-06 13:59:18 +00:00
|
|
|
"frameBuffer" : "world",
|
|
|
|
|
2023-06-23 13:01:25 +00:00
|
|
|
"effectParameters" : {
|
|
|
|
"lightMapEnabled" : {
|
|
|
|
"type" : "bool",
|
2023-06-29 19:55:41 +00:00
|
|
|
"default" : true,
|
2023-06-23 13:01:25 +00:00
|
|
|
"uniform" : "lightMapEnabled"
|
|
|
|
},
|
|
|
|
"lightMapScale" : {
|
|
|
|
"type" : "vec2",
|
|
|
|
"default" : [1, 1],
|
|
|
|
"uniform" : "lightMapScale"
|
|
|
|
},
|
|
|
|
"lightMapOffset" : {
|
|
|
|
"type" : "vec2",
|
|
|
|
"default" : [0, 0],
|
|
|
|
"uniform" : "lightMapOffset"
|
|
|
|
},
|
|
|
|
"lightMapMultiplier" : {
|
|
|
|
"type" : "float",
|
|
|
|
"default" : 1.0,
|
|
|
|
"uniform" : "lightMapMultiplier"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"effectTextures" : {
|
|
|
|
"lightMap" : {
|
|
|
|
"textureUniform" : "lightMap",
|
|
|
|
"textureSizeUniform" : "lightMapSize",
|
|
|
|
"textureAddressing" : "clamp",
|
|
|
|
"textureFiltering" : "linear"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"effectShaders" : {
|
2023-06-29 19:55:41 +00:00
|
|
|
"vertex" : "world.vert",
|
|
|
|
"fragment" : "world.frag"
|
2023-06-23 13:01:25 +00:00
|
|
|
}
|
2023-06-29 19:55:41 +00:00
|
|
|
}
|