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

40 lines
823 B
Plaintext
Raw Normal View History

{
"frameBuffer" : "world",
"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"
}
},
"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
}