Hi,
I'm using the newest Ogre version and found out, that when I use a datablock, the brdf is by default always:
PbsBrdf::DefaultHasDiffuseFresnel
But in my json file I use e.g. "cook_tolerance". This behavior unfortunately messes the visualisation of all my game objects.
Code: Select all
"M_wood_06" :
{
"macroblock" : "Macroblock_Village",
"blendblock" : "Blendblock_Village",
"shadow_const_bias" : 0.001,
"workflow" : "SpecularWorkflow",
"brdf" : "cook_tolerance",
"diffuse" :
{
"value" : [1, 1, 1],
"background" : [1, 1, 1, 1],
"texture" : "T_wood_06_BC.png",
"sampler" : "Sampler_Village"
},
"emmissive" :
{
"value" : [1, 1, 1]
},
"normal" :
{
"value" : 1,
"sampler" : "Sampler_Village",
"texture" : "T_wood_06_N.png"
},
"roughness" :
{
"value" : 1.7
}
}
Can this be fixed?
Best Regards
Lax