6116 lines
210 KiB
JSON
6116 lines
210 KiB
JSON
{
|
|
"shader_resources": [
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender.vert"
|
|
}
|
|
],
|
|
"id": "blender",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_NormalMapping.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_NormalMapping.vert"
|
|
}
|
|
],
|
|
"id": "blender_NormalMapping",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Skinning.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Skinning.vert"
|
|
}
|
|
],
|
|
"id": "blender_Skinning",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_NormalMapping.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_NormalMapping.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_NormalMapping",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Skinning.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Skinning.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Skinning",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_NormalMapping.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_NormalMapping.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_NormalMapping",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_Skinning.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_Skinning.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_Skinning",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_NormalMapping_Skinning.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_NormalMapping_Skinning.vert"
|
|
}
|
|
],
|
|
"id": "blender_NormalMapping_Skinning",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_NormalMapping_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_NormalMapping_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_NormalMapping_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_NormalMapping_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_NormalMapping_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_NormalMapping_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Skinning_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Skinning_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_Skinning_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Skinning_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Skinning_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_Skinning_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_NormalMapping.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_NormalMapping.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_NormalMapping",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_Skinning.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_Skinning.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_Skinning",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_NormalMapping_Skinning.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_NormalMapping_Skinning.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_NormalMapping_Skinning",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_NormalMapping_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_NormalMapping_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_NormalMapping_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_NormalMapping_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_NormalMapping_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_NormalMapping_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Skinning_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Skinning_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Skinning_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Skinning_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Skinning_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Skinning_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_NormalMapping_Skinning.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_NormalMapping_Skinning.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_NormalMapping_Skinning",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_NormalMapping_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_NormalMapping_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_NormalMapping_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_NormalMapping_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_NormalMapping_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_NormalMapping_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_Skinning_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_Skinning_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_Skinning_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_Skinning_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_Skinning_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_Skinning_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_NormalMapping_Skinning_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_NormalMapping_Skinning_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_NormalMapping_Skinning_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_NormalMapping_Skinning_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_NormalMapping_Skinning_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_NormalMapping_Skinning_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_NormalMapping_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_NormalMapping_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_NormalMapping_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Skinning_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Skinning_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_Skinning_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_NormalMapping_Skinning.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_NormalMapping_Skinning.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_NormalMapping_Skinning",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_NormalMapping_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_NormalMapping_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_NormalMapping_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_NormalMapping_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_NormalMapping_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_NormalMapping_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_Skinning_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_Skinning_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_Skinning_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_Skinning_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_Skinning_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_Skinning_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_NormalMapping_Skinning_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_NormalMapping_Skinning_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_NormalMapping_Skinning_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_NormalMapping_Skinning_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_NormalMapping_Skinning_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_NormalMapping_Skinning_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_NormalMapping_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_NormalMapping_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_NormalMapping_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Skinning_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Skinning_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Skinning_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_NormalMapping_Skinning_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_NormalMapping_Skinning_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_NormalMapping_Skinning_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_NormalMapping_Skinning_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_NormalMapping_Skinning_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_NormalMapping_Skinning_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_NormalMapping_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_NormalMapping_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_NormalMapping_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_Skinning_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_Skinning_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_Skinning_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_NormalMapping_Skinning_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_NormalMapping_Skinning_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_NormalMapping_Skinning_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_NormalMapping_Skinning_Texturing.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_NormalMapping_Skinning_Texturing.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_NormalMapping_Skinning_Texturing",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_NormalMapping_Skinning_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_NormalMapping_Skinning_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_NormalMapping_Skinning_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_NormalMapping_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_NormalMapping_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_NormalMapping_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_Skinning_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_Skinning_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_Skinning_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_NormalMapping_Skinning_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_NormalMapping_Skinning_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_NormalMapping_Skinning_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_Instancing_NormalMapping_Skinning_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_Instancing_NormalMapping_Skinning_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_Instancing_NormalMapping_Skinning_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"contexts": [
|
|
{
|
|
"blend_destination": "blend_zero",
|
|
"blend_source": "blend_one",
|
|
"compare_mode": "less",
|
|
"constants": [
|
|
{
|
|
"id": "M",
|
|
"link": "_modelMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "NM",
|
|
"link": "_normalMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "V",
|
|
"link": "_viewMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "P",
|
|
"link": "_projectionMatrix",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "lightMVP",
|
|
"link": "_lightMVP",
|
|
"type": "mat4"
|
|
},
|
|
{
|
|
"id": "diffuseColor",
|
|
"type": "vec4"
|
|
},
|
|
{
|
|
"id": "light",
|
|
"link": "_lightPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "eye",
|
|
"link": "_cameraPosition",
|
|
"type": "vec3"
|
|
},
|
|
{
|
|
"id": "skinBones",
|
|
"link": "_skinBones",
|
|
"type": "floats"
|
|
},
|
|
{
|
|
"id": "lighting",
|
|
"type": "bool"
|
|
},
|
|
|
|
{
|
|
"id": "roughness",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"cull_mode": "counter_clockwise",
|
|
"depth_write": true,
|
|
"fragment_shader": "blender_AlphaTest_Instancing_NormalMapping_Skinning_Texturing_VCols.frag",
|
|
"id": "blender",
|
|
"texture_units": [
|
|
{
|
|
"id": "stex"
|
|
},
|
|
{
|
|
"id": "shadowMap"
|
|
},
|
|
{
|
|
"id": "normalMap"
|
|
}
|
|
],
|
|
"vertex_shader": "blender_AlphaTest_Instancing_NormalMapping_Skinning_Texturing_VCols.vert"
|
|
}
|
|
],
|
|
"id": "blender_AlphaTest_Instancing_NormalMapping_Skinning_Texturing_VCols",
|
|
"vertex_structure": [
|
|
{
|
|
"name": "pos",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "nor",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "tex",
|
|
"size": 2
|
|
},
|
|
{
|
|
"name": "col",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "tan",
|
|
"size": 3
|
|
},
|
|
{
|
|
"name": "bone",
|
|
"size": 4
|
|
},
|
|
{
|
|
"name": "weight",
|
|
"size": 4
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |