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"
|
2023-06-29 00:11:19 +00:00
|
|
|
},
|
|
|
|
"tileLightMap" : {
|
|
|
|
"textureUniform" : "tileLightMap",
|
|
|
|
"textureAddressing" : "clamp",
|
|
|
|
"textureFiltering" : "linear"
|
2023-06-23 13:01:25 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"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
|
|
|
}
|