osb/assets/opensb/rendering/opengl20.config
Kae 6832c10ed5 Split shaders into their own files
some unrelated directives thing too
2023-06-23 23:01:25 +10:00

39 lines
803 B
Plaintext

{
"effectParameters" : {
"lightMapEnabled" : {
"type" : "bool",
"default" : false,
"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" : "opengl20.vert",
"fragment" : "opengl20.frag"
}
}