osb/assets/opensb/rendering/effects/world.config
2024-03-19 18:21:54 +11:00

40 lines
823 B
Plaintext

{
"frameBuffer" : "world",
"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"
}
},
"effectShaders" : {
"vertex" : "world.vert",
"fragment" : "world.frag"
}
}