Export logic nodes to separate folder
This commit is contained in:
parent
888f633871
commit
d74fa3c777
|
@ -2,7 +2,7 @@
|
|||
"material_resources": [
|
||||
{
|
||||
"id": "material1",
|
||||
"shader": "env_map_resource/env_map",
|
||||
"shader": "env_map/env_map",
|
||||
"cast_shadow": true,
|
||||
"contexts": [
|
||||
{
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#version 450
|
||||
|
||||
#ifdef GL_ES
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
@ -7,16 +9,15 @@ precision mediump float;
|
|||
|
||||
uniform sampler2D envmap;
|
||||
|
||||
varying vec3 wcNormal;
|
||||
in vec3 normal;
|
||||
|
||||
vec2 envMapEquirect(vec3 wcNormal, float flipEnvMap) {
|
||||
float phi = acos(wcNormal.z);
|
||||
float theta = atan(flipEnvMap * wcNormal.x, wcNormal.y) + PI;
|
||||
return vec2(theta / TwoPI, phi / PI);
|
||||
vec2 envMapEquirect(vec3 normal) {
|
||||
float phi = acos(normal.z);
|
||||
float theta = atan(normal.x, normal.y) + PI;
|
||||
return vec2(theta / TwoPI, phi / PI);
|
||||
}
|
||||
|
||||
void main() {
|
||||
|
||||
vec3 N = normalize(wcNormal);
|
||||
gl_FragColor = texture2D(envmap, envMapEquirect(N, -1.0));
|
||||
vec3 n = normalize(normal);
|
||||
gl_FragColor = texture(envmap, envMapEquirect(n));
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#version 450
|
||||
|
||||
#ifdef GL_ES
|
||||
precision highp float;
|
||||
#endif
|
||||
|
@ -5,11 +7,17 @@ precision highp float;
|
|||
uniform mat4 V;
|
||||
uniform mat4 P;
|
||||
|
||||
attribute vec2 pos;
|
||||
in vec2 pos;
|
||||
|
||||
varying vec3 wcNormal;
|
||||
out vec3 normal;
|
||||
|
||||
mat4 inverse(mat4 m) {
|
||||
mat3 transpose_(mat3 m) {
|
||||
return mat3(m[0][0], m[1][0], m[2][0],
|
||||
m[0][1], m[1][1], m[2][1],
|
||||
m[0][2], m[1][2], m[2][2]);
|
||||
}
|
||||
|
||||
mat4 inverse_(mat4 m) {
|
||||
float
|
||||
a00 = m[0][0], a01 = m[0][1], a02 = m[0][2], a03 = m[0][3],
|
||||
a10 = m[1][0], a11 = m[1][1], a12 = m[1][2], a13 = m[1][3],
|
||||
|
@ -50,22 +58,15 @@ mat4 inverse(mat4 m) {
|
|||
a20 * b03 - a21 * b01 + a22 * b00) / det;
|
||||
}
|
||||
|
||||
mat3 transpose(mat3 m) {
|
||||
return mat3(m[0][0], m[1][0], m[2][0],
|
||||
m[0][1], m[1][1], m[2][1],
|
||||
m[0][2], m[1][2], m[2][2]);
|
||||
}
|
||||
|
||||
void main() {
|
||||
|
||||
mat4 invP = inverse(P);
|
||||
mat3 invMV = transpose(mat3(V));
|
||||
mat4 invP = inverse_(P);
|
||||
mat3 invMV = transpose_(mat3(V));
|
||||
|
||||
vec4 p = vec4(pos.xy, 0.0, 1.0);
|
||||
|
||||
vec3 unprojected = (invP * p).xyz;
|
||||
|
||||
wcNormal = invMV * unprojected;
|
||||
normal = invMV * unprojected;
|
||||
|
||||
gl_Position = vec4(pos.xy, 0.0, 1.0);
|
||||
}
|
||||
|
|
|
@ -2003,7 +2003,7 @@ class ArmoryExporter(bpy.types.Operator, ExportHelper):
|
|||
if t.enabled_prop == False:
|
||||
continue
|
||||
x = Object()
|
||||
if t.type_prop == 'Nodes':
|
||||
if t.type_prop == 'Nodes' and t.nodes_name_prop != '':
|
||||
x.type = 'Script'
|
||||
x.class_name = t.nodes_name_prop.replace('.', '_')
|
||||
elif t.type_prop == 'Scene Instance':
|
||||
|
@ -2109,6 +2109,16 @@ class ArmoryExporter(bpy.types.Operator, ExportHelper):
|
|||
c.bind_constants.append(const)
|
||||
|
||||
c.bind_textures = []
|
||||
|
||||
tex = Object() # TODO: parse from world nodes
|
||||
tex.id = 'senvmap'
|
||||
tex.name = 'envmap_irradiance'
|
||||
c.bind_textures.append(tex)
|
||||
|
||||
tex = Object() # TODO: parse from world nodes
|
||||
tex.id = 'senvmaplod'
|
||||
tex.name = 'envmap_lod1'
|
||||
c.bind_textures.append(tex)
|
||||
|
||||
# Parse nodes
|
||||
out_node = None
|
||||
|
|
|
@ -226,8 +226,9 @@ def buildNodeTrees():
|
|||
os.chdir(fp)
|
||||
|
||||
# Make sure package dir exists
|
||||
if not os.path.exists('Sources/' + bpy.data.worlds[0].CGProjectPackage.replace(".", "/")):
|
||||
os.makedirs('Sources/' + bpy.data.worlds[0].CGProjectPackage.replace(".", "/"))
|
||||
nodes_path = 'Sources/' + bpy.data.worlds[0].CGProjectPackage.replace(".", "/") + "/node"
|
||||
if not os.path.exists(nodes_path):
|
||||
os.makedirs(nodes_path)
|
||||
|
||||
# Export node scripts
|
||||
for node_group in bpy.data.node_groups:
|
||||
|
@ -237,12 +238,12 @@ def buildNodeTrees():
|
|||
def buildNodeTree(node_group):
|
||||
rn = getRootNode(node_group)
|
||||
|
||||
path = 'Sources/' + bpy.data.worlds[0].CGProjectPackage.replace(".", "/") + "/"
|
||||
path = 'Sources/' + bpy.data.worlds[0].CGProjectPackage.replace(".", "/") + "/node/"
|
||||
|
||||
node_group_name = node_group.name.replace('.', '_')
|
||||
|
||||
with open(path + node_group_name + '.hx', 'w') as f:
|
||||
f.write('package ' + bpy.data.worlds[0].CGProjectPackage + ';\n\n')
|
||||
f.write('package ' + bpy.data.worlds[0].CGProjectPackage + '.node;\n\n')
|
||||
f.write('import cycles.node.*;\n\n')
|
||||
f.write('class ' + node_group_name + ' extends cycles.trait.NodeExecutor {\n\n')
|
||||
f.write('\tpublic function new() { super(); requestAdd(add); }\n\n')
|
||||
|
|
|
@ -331,6 +331,7 @@ def buildNode(res, node, node_group):
|
|||
if targetNode.bl_idname == 'TargetNodeType':
|
||||
targetId = targetNode.inputs[0].default_value
|
||||
stage.params.append(targetId)
|
||||
stage.params.append(node.inputs[2].default_value)
|
||||
|
||||
elif node.bl_idname == 'DrawQuadNodeType':
|
||||
stage.command = 'draw_quad'
|
||||
|
|
|
@ -226,10 +226,9 @@ def cleanProject(self):
|
|||
shutil.rmtree('Assets/generated')
|
||||
|
||||
# Remove compiled nodes
|
||||
path = 'Sources/' + bpy.data.worlds[0].CGProjectPackage.replace(".", "/") + "/"
|
||||
for node_group in bpy.data.node_groups:
|
||||
node_group_name = node_group.name.replace('.', '_')
|
||||
os.remove(path + node_group_name + '.hx')
|
||||
nodes_path = "Sources/" + bpy.data.worlds[0].CGProjectPackage.replace(".", "/") + "/node/"
|
||||
if os.path.isdir(nodes_path):
|
||||
shutil.rmtree(nodes_path)
|
||||
|
||||
self.report({'INFO'}, "Done")
|
||||
|
||||
|
|
|
@ -23,9 +23,16 @@ project.addAssets('Libraries/cyclesgame/Assets/**');
|
|||
for ref in shader_references:
|
||||
# ArmoryExporter.pipeline_pass instead of split
|
||||
base_name = ref.split('_', 1)[0] + "/"
|
||||
f.write("project.addAssets('Libraries/cyclesgame/compiled/ShaderResources/" + base_name + "" + ref + ".json');\n")
|
||||
f.write("project.addShaders('Libraries/cyclesgame/compiled/Shaders/" + base_name + "" + ref + ".frag.glsl');\n")
|
||||
f.write("project.addShaders('Libraries/cyclesgame/compiled/Shaders/" + base_name + "" + ref + ".vert.glsl');\n")
|
||||
f.write("project.addAssets('compiled/ShaderResources/" + base_name + "" + ref + ".json');\n")
|
||||
f.write("project.addShaders('compiled/Shaders/" + base_name + "" + ref + ".frag.glsl');\n")
|
||||
f.write("project.addShaders('compiled/Shaders/" + base_name + "" + ref + ".vert.glsl');\n")
|
||||
# TODO: properly include all shader contexts
|
||||
defsarr = ref.split('_', 1) # Get shader defs and append to shadowmap shader name
|
||||
defs = ''
|
||||
if len(defsarr) > 1:
|
||||
defs = '_' + defsarr[1]
|
||||
f.write("project.addShaders('compiled/Shaders/" + base_name + "" + 'shadowmap' + defs + ".frag.glsl');\n")
|
||||
f.write("project.addShaders('compiled/Shaders/" + base_name + "" + 'shadowmap' + defs + ".vert.glsl');\n")
|
||||
|
||||
if bpy.data.worlds[0]['CGPhysics'] != 0:
|
||||
f.write("\nproject.addDefine('WITH_PHYSICS')\n")
|
||||
|
|
|
@ -1,91 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,91 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,91 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,91 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,118 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,122 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,115 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,105 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,109 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,104 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,115 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,108 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Instancing_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,95 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,118 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,122 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,115 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,105 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,109 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_NormalMapping_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,104 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,115 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,108 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Billboard_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,95 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,91 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,118 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,122 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,115 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,105 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,109 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_NormalMapping_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,104 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,115 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,108 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Instancing_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,95 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_AlphaTest_NormalMapping.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_AlphaTest_NormalMapping",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,118 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,122 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,115 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,105 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,109 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_NormalMapping_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,104 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,115 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,108 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_AlphaTest_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,95 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,91 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,91 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,118 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,122 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,115 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,105 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,109 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_NormalMapping_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,104 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,115 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,108 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_Instancing_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,95 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,98 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"vertex_shader": "forward_Billboard_NormalMapping.vert"
|
||||
}
|
||||
],
|
||||
"id": "forward_Billboard_NormalMapping",
|
||||
"vertex_structure": [
|
||||
{
|
||||
"name": "pos",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "nor",
|
||||
"size": 3
|
||||
},
|
||||
{
|
||||
"name": "tan",
|
||||
"size": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,111 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Skinning.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,118 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Skinning_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,122 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Skinning_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,115 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Skinning_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,105 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Texturing.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,109 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_Texturing_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "salbedo"
|
||||
},
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"type": "float"
|
||||
}
|
||||
],
|
||||
"cull_mode": "counter_clockwise",
|
||||
"depth_write": true,
|
||||
"fragment_shader": "forward_Billboard_NormalMapping_VCols.frag",
|
||||
"id": "forward",
|
||||
"texture_units": [
|
||||
{
|
||||
"id": "shadowMap"
|
||||
},
|
||||
{
|
||||
"id": "snormal"
|
||||
}
|
||||
],
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,104 +0,0 @@
|
|||
{
|
||||
"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": "LMVP",
|
||||
"link": "_lightModelViewProjectionMatrix",
|
||||
"type": "mat4"
|
||||
},
|
||||
{
|
||||
"id": "albedo_color",
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"id": "metalness",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue