osb/assets/opensb/rendering/effects/world.config

45 lines
937 B
Plaintext
Raw Normal View History

{
"frameBuffer" : "main",
"effectParameters" : {
"lightMapEnabled" : {
"type" : "bool",
2023-06-29 19:55:41 +00:00
"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"
},
"vertexRounding" : {
"type" : "bool",
"default" : false,
"uniform" : "vertexRounding"
}
},
"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-29 19:55:41 +00:00
}