Add only needed shader resources
This commit is contained in:
parent
e26fef7bd9
commit
18a1195ca5
|
@ -2178,12 +2178,12 @@ class ArmoryExporter(bpy.types.Operator, ExportHelper):
|
|||
# Merge duplicates and sort
|
||||
defs = sorted(list(set(defs)))
|
||||
# Select correct shader variant
|
||||
o.shader = ArmoryExporter.pipeline_pass + '_resource/' + ArmoryExporter.pipeline_pass
|
||||
ext = ''
|
||||
for d in defs:
|
||||
ext += d
|
||||
o.shader += ext
|
||||
ArmoryExporter.shader_references.append(ArmoryExporter.pipeline_pass + ext)
|
||||
shader_name = ArmoryExporter.pipeline_pass + ext
|
||||
o.shader = shader_name + '/' + shader_name
|
||||
ArmoryExporter.shader_references.append(shader_name)
|
||||
else:
|
||||
o.shader = material.custom_shader_name
|
||||
|
||||
|
|
|
@ -18,10 +18,11 @@ project.addAssets('Assets/**');
|
|||
|
||||
project.addLibrary('cyclesgame');
|
||||
project.addAssets('Libraries/cyclesgame/Assets/**');
|
||||
project.addAssets('Libraries/cyclesgame/compiled/Assets/**');
|
||||
""")
|
||||
|
||||
for ref in shader_references:
|
||||
# ArmoryExporter.pipeline_pass instead of split
|
||||
f.write("project.addAssets('Libraries/cyclesgame/compiled/ShaderResources/" + ref.split('_', 1)[0] + "/" + ref + ".json');\n")
|
||||
f.write("project.addShaders('Libraries/cyclesgame/compiled/Shaders/" + ref + ".frag.glsl');\n")
|
||||
f.write("project.addShaders('Libraries/cyclesgame/compiled/Shaders/" + ref + ".vert.glsl');\n")
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
"shader_resources": [
|
||||
{
|
||||
"contexts": [
|
||||
{
|
||||
"blend_destination": "blend_zero",
|
||||
"blend_source": "blend_one",
|
||||
"compare_mode": "always",
|
||||
"constants": [],
|
||||
"cull_mode": "none",
|
||||
"depth_write": false,
|
||||
"fragment_shader": "deferred_pass.frag",
|
||||
"id": "deferred_pass",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "gbuffer0"
|
||||
},
|
||||
{
|
||||
"id": "gbuffer1"
|
||||
},
|
||||
{
|
||||
"id": "gbuffer2"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "deferred_pass.vert"
|
||||
}
|
||||
],
|
||||
"id": "deferred_pass",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
{
|
||||
"shader_resources": [
|
||||
{
|
||||
"contexts": [
|
||||
{
|
||||
"blend_destination": "blend_zero",
|
||||
"blend_source": "blend_one",
|
||||
"compare_mode": "always",
|
||||
"constants": [
|
||||
{
|
||||
"id": "V",
|
||||
"link": "_viewMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "P",
|
||||
"link": "_projectionMatrix",
|
||||
"type": "mat4"
|
||||
}
|
||||
],
|
||||
"cull_mode": "none",
|
||||
"depth_write": false,
|
||||
"fragment_shader": "env_map.frag",
|
||||
"id": "env_map",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "envmap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "env_map.vert"
|
||||
}
|
||||
],
|
||||
"id": "env_map",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
File diff suppressed because it is too large
Load diff
87
compiled/ShaderResources/forward/forward.json
Normal file
87
compiled/ShaderResources/forward/forward.json
Normal file
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
87
compiled/ShaderResources/forward/forward_AlphaTest.json
Normal file
87
compiled/ShaderResources/forward/forward_AlphaTest.json
Normal file
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Instancing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Instancing_NormalMapping",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,114 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,118 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,105 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Instancing_NormalMapping_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,100 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Instancing_Skinning",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Instancing_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Instancing_Texturing_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,91 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Instancing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Instancing_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_NormalMapping.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_NormalMapping",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_NormalMapping_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_NormalMapping_Skinning",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,114 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_NormalMapping_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,118 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_NormalMapping_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_NormalMapping_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_NormalMapping_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_NormalMapping_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,105 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_NormalMapping_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_NormalMapping_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_NormalMapping_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,100 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Skinning",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Skinning_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Skinning_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_Texturing_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,91 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Billboard_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Billboard_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Instancing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_NormalMapping.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Instancing_NormalMapping",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_NormalMapping_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,114 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_NormalMapping_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,118 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_NormalMapping_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_NormalMapping_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_NormalMapping_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Instancing_NormalMapping_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,105 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_NormalMapping_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_NormalMapping_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Instancing_NormalMapping_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,100 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Instancing_Skinning",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Instancing_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Instancing_Texturing_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,91 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Instancing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Instancing_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_NormalMapping.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_NormalMapping",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_NormalMapping_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,114 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_NormalMapping_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,118 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_NormalMapping_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_NormalMapping_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_NormalMapping_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_NormalMapping_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,105 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_NormalMapping_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_NormalMapping_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_NormalMapping_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
100
compiled/ShaderResources/forward/forward_AlphaTest_Skinning.json
Normal file
100
compiled/ShaderResources/forward/forward_AlphaTest_Skinning.json
Normal file
|
@ -0,0 +1,100 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Skinning",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_Texturing_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,91 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
87
compiled/ShaderResources/forward/forward_Billboard.json
Normal file
87
compiled/ShaderResources/forward/forward_Billboard.json
Normal file
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,87 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_Instancing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_NormalMapping.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_Instancing_NormalMapping",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_NormalMapping_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,114 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_NormalMapping_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,118 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_NormalMapping_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_NormalMapping_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_NormalMapping_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_Instancing_NormalMapping_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,105 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_NormalMapping_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_NormalMapping_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_Instancing_NormalMapping_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,100 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_Instancing_Skinning",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_Instancing_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_Instancing_Texturing_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,91 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Instancing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_Instancing_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_NormalMapping.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_NormalMapping",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_NormalMapping_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_NormalMapping_Skinning",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,114 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_NormalMapping_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,118 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_NormalMapping_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_NormalMapping_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_NormalMapping_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_NormalMapping_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,105 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_NormalMapping_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"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": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "normalMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_NormalMapping_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_NormalMapping_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
100
compiled/ShaderResources/forward/forward_Billboard_Skinning.json
Normal file
100
compiled/ShaderResources/forward/forward_Billboard_Skinning.json
Normal file
|
@ -0,0 +1,100 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Skinning.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_Skinning",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Skinning_Texturing.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_Skinning_Texturing",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tex",
|
||||
"size": 2
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "stex"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Skinning_Texturing_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
"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": "skinBones",
|
||||
"link": "_skinBones",
|
||||
"type": "floats"
|
||||
},
|
||||
{
|
||||
"id": "lighting",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "receiveShadow",
|
||||
"type": "bool"
|
||||
},
|
||||
{
|
||||
"id": "roughness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_Skinning_VCols.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_Skinning_VCols",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "col",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "bone",
|
||||
"size": 4
|
||||
},
|
||||
{
|
||||
"name": "weight",
|
||||
"size": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue