osb/assets/opensb/rendering/world.config
2023-06-30 06:11:42 +10:00

43 lines
939 B
Plaintext

{
"effectParameters" : {
"lightMapEnabled" : {
"type" : "bool",
"default" : true,
"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"
},
"tileLightMap" : {
"textureUniform" : "tileLightMap",
"textureAddressing" : "clamp",
"textureFiltering" : "linear"
}
},
"effectShaders" : {
"vertex" : "world.vert",
"fragment" : "world.frag"
}
}