Graphics: WIP (almost working)
This commit is contained in:
361
shaders/BasicMaterial/basicmaterial.frag.shaderflow
Normal file
361
shaders/BasicMaterial/basicmaterial.frag.shaderflow
Normal file
@@ -0,0 +1,361 @@
|
||||
{
|
||||
"buffers": [
|
||||
{
|
||||
"bindingIndex": 5,
|
||||
"name": "viewerData",
|
||||
"structIndex": 2,
|
||||
"type": "UniformBufferObject"
|
||||
},
|
||||
{
|
||||
"bindingIndex": 4,
|
||||
"name": "instanceData",
|
||||
"structIndex": 1,
|
||||
"type": "UniformBufferObject"
|
||||
},
|
||||
{
|
||||
"bindingIndex": 3,
|
||||
"name": "settings",
|
||||
"structIndex": 0,
|
||||
"type": "UniformBufferObject"
|
||||
}
|
||||
],
|
||||
"connections": [
|
||||
{
|
||||
"in_id": "{fbaddbbe-f9cd-4e8d-b7a8-40c10c96f580}",
|
||||
"in_index": 0,
|
||||
"out_id": "{ac98a68f-0160-4189-af31-b8278e7c119c}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{fbaddbbe-f9cd-4e8d-b7a8-40c10c96f580}",
|
||||
"in_index": 1,
|
||||
"out_id": "{db10f064-504d-4072-a49e-51a061b2efbe}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{cf0ae20a-88cd-4788-9ed7-eaf014d8f971}",
|
||||
"in_index": 0,
|
||||
"out_id": "{c41cd67b-2f34-4ec4-acc6-2f7285e7c6e3}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{cf0ae20a-88cd-4788-9ed7-eaf014d8f971}",
|
||||
"in_index": 1,
|
||||
"out_id": "{74d3ca95-ae1d-496d-88c1-ce6c7327012a}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{f5a6874b-0559-4fd1-9836-27567f9696a4}",
|
||||
"in_index": 1,
|
||||
"out_id": "{fbaddbbe-f9cd-4e8d-b7a8-40c10c96f580}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{f5a6874b-0559-4fd1-9836-27567f9696a4}",
|
||||
"in_index": 0,
|
||||
"out_id": "{cf0ae20a-88cd-4788-9ed7-eaf014d8f971}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{bed466d8-5ed0-4e8a-bba7-1c809cb4c3f7}",
|
||||
"in_index": 1,
|
||||
"out_id": "{43df5c43-d6f4-440f-a049-4fde6e738883}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{43df5c43-d6f4-440f-a049-4fde6e738883}",
|
||||
"in_index": 0,
|
||||
"out_id": "{07a43c79-67e2-46b1-87d4-e00d2da22820}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{be3547ff-0bf3-4701-9c27-c21e9d1322c3}",
|
||||
"in_index": 0,
|
||||
"out_id": "{f5a6874b-0559-4fd1-9836-27567f9696a4}",
|
||||
"out_index": 0
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"locationIndex": 0,
|
||||
"name": "vertNormal",
|
||||
"role": "Normal",
|
||||
"roleIndex": 0,
|
||||
"type": "Float3"
|
||||
},
|
||||
{
|
||||
"locationIndex": 1,
|
||||
"name": "vertUV",
|
||||
"role": "TexCoord",
|
||||
"roleIndex": 0,
|
||||
"type": "Float2"
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "{c41cd67b-2f34-4ec4-acc6-2f7285e7c6e3}",
|
||||
"model": {
|
||||
"input": "vertNormal",
|
||||
"name": "Input",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 103,
|
||||
"y": 173
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{cf0ae20a-88cd-4788-9ed7-eaf014d8f971}",
|
||||
"model": {
|
||||
"name": "vec_dot",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": "lightFactor"
|
||||
},
|
||||
"position": {
|
||||
"x": 278,
|
||||
"y": 212
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{74d3ca95-ae1d-496d-88c1-ce6c7327012a}",
|
||||
"model": {
|
||||
"name": "vec3_constant",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"value": [
|
||||
0,
|
||||
-0.7070000171661377,
|
||||
0.7070000171661377
|
||||
],
|
||||
"variable_name": "lightDir"
|
||||
},
|
||||
"position": {
|
||||
"x": 115,
|
||||
"y": 267
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{fbaddbbe-f9cd-4e8d-b7a8-40c10c96f580}",
|
||||
"model": {
|
||||
"name": "SampleTexture",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 299,
|
||||
"y": 488
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{ac98a68f-0160-4189-af31-b8278e7c119c}",
|
||||
"model": {
|
||||
"name": "Texture",
|
||||
"preview_enabled": true,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"texture": "MaterialDiffuseMap",
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 103,
|
||||
"y": 470
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{db10f064-504d-4072-a49e-51a061b2efbe}",
|
||||
"model": {
|
||||
"input": "vertUV",
|
||||
"name": "Input",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 113,
|
||||
"y": 579
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{f5a6874b-0559-4fd1-9836-27567f9696a4}",
|
||||
"model": {
|
||||
"name": "vecfloat_mul",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 488,
|
||||
"y": 376
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{be3547ff-0bf3-4701-9c27-c21e9d1322c3}",
|
||||
"model": {
|
||||
"name": "Output",
|
||||
"output": "RenderTarget0",
|
||||
"preview_enabled": true,
|
||||
"preview_height": 128,
|
||||
"preview_width": 128,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 912,
|
||||
"y": 489
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{bed466d8-5ed0-4e8a-bba7-1c809cb4c3f7}",
|
||||
"model": {
|
||||
"name": "vec_mul",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 707,
|
||||
"y": 492
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{43df5c43-d6f4-440f-a049-4fde6e738883}",
|
||||
"model": {
|
||||
"name": "cast_vec4",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"value": [
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"variable_name": "matDiffuse"
|
||||
},
|
||||
"position": {
|
||||
"x": 521,
|
||||
"y": 616
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{07a43c79-67e2-46b1-87d4-e00d2da22820}",
|
||||
"model": {
|
||||
"buffer": "settings",
|
||||
"field": "DiffuseColor",
|
||||
"name": "BufferField",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 309,
|
||||
"y": 637
|
||||
}
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"locationIndex": 0,
|
||||
"name": "RenderTarget0",
|
||||
"type": "Float4"
|
||||
}
|
||||
],
|
||||
"structs": [
|
||||
{
|
||||
"members": [
|
||||
{
|
||||
"name": "AlphaThreshold",
|
||||
"type": "Float"
|
||||
},
|
||||
{
|
||||
"name": "DiffuseColor",
|
||||
"type": "Float3"
|
||||
}
|
||||
],
|
||||
"name": "BasicSettings"
|
||||
},
|
||||
{
|
||||
"members": [
|
||||
{
|
||||
"name": "worldMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "invWorldMatrix",
|
||||
"type": "Mat4x4"
|
||||
}
|
||||
],
|
||||
"name": "InstanceData"
|
||||
},
|
||||
{
|
||||
"members": [
|
||||
{
|
||||
"name": "projectionMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "invProjectionMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "viewMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "invViewMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "viewProjMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "invViewProjMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "renderTargetSize",
|
||||
"type": "Float2"
|
||||
},
|
||||
{
|
||||
"name": "invRenderTargetSize",
|
||||
"type": "Float2"
|
||||
},
|
||||
{
|
||||
"name": "eyePosition",
|
||||
"type": "Float3"
|
||||
}
|
||||
],
|
||||
"name": "ViewerData"
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
{
|
||||
"bindingIndex": 0,
|
||||
"name": "MaterialAlphaMap",
|
||||
"type": "Sampler2D"
|
||||
},
|
||||
{
|
||||
"bindingIndex": 1,
|
||||
"name": "MaterialDiffuseMap",
|
||||
"type": "Sampler2D"
|
||||
},
|
||||
{
|
||||
"bindingIndex": 2,
|
||||
"name": "TextureOverlay",
|
||||
"type": "Sampler2D"
|
||||
}
|
||||
],
|
||||
"type": "Fragment"
|
||||
}
|
||||
392
shaders/BasicMaterial/basicmaterial.vert.shaderflow
Normal file
392
shaders/BasicMaterial/basicmaterial.vert.shaderflow
Normal file
@@ -0,0 +1,392 @@
|
||||
{
|
||||
"buffers": [
|
||||
{
|
||||
"bindingIndex": 5,
|
||||
"name": "viewerData",
|
||||
"structIndex": 2,
|
||||
"type": "UniformBufferObject"
|
||||
},
|
||||
{
|
||||
"bindingIndex": 4,
|
||||
"name": "instanceData",
|
||||
"structIndex": 1,
|
||||
"type": "UniformBufferObject"
|
||||
},
|
||||
{
|
||||
"bindingIndex": 3,
|
||||
"name": "settings",
|
||||
"structIndex": 0,
|
||||
"type": "UniformBufferObject"
|
||||
}
|
||||
],
|
||||
"connections": [
|
||||
{
|
||||
"in_id": "{1bb9712b-8bff-4398-9e4e-fba79a04df0e}",
|
||||
"in_index": 1,
|
||||
"out_id": "{a2fff9e2-af6e-4c7f-80ee-ca3492f3c5ab}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{62731a4b-f054-4f78-82da-08d2584e51ab}",
|
||||
"in_index": 1,
|
||||
"out_id": "{7ac65f09-7f55-4a6e-9380-1bee5213f079}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{62731a4b-f054-4f78-82da-08d2584e51ab}",
|
||||
"in_index": 0,
|
||||
"out_id": "{1bb9712b-8bff-4398-9e4e-fba79a04df0e}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{43ce1867-629f-442b-a672-540fa67f1446}",
|
||||
"in_index": 0,
|
||||
"out_id": "{33840c70-4e37-4127-bab0-23c4a4cb6d7f}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{7ac65f09-7f55-4a6e-9380-1bee5213f079}",
|
||||
"in_index": 0,
|
||||
"out_id": "{c3b906bc-d230-4026-a32e-34c00eaf4481}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{d8f4d14a-c67a-470f-87bf-8f60d9513c3b}",
|
||||
"in_index": 0,
|
||||
"out_id": "{d32dfb1d-c8a4-4315-a710-90d2a51f68e8}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{1bb9712b-8bff-4398-9e4e-fba79a04df0e}",
|
||||
"in_index": 0,
|
||||
"out_id": "{d8f4d14a-c67a-470f-87bf-8f60d9513c3b}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{63bb13f0-55e3-451b-860e-568b65e09b04}",
|
||||
"in_index": 0,
|
||||
"out_id": "{62731a4b-f054-4f78-82da-08d2584e51ab}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{0fc53363-dbce-4874-8de5-5ca05ae038b7}",
|
||||
"in_index": 0,
|
||||
"out_id": "{412684ce-0ec2-4db5-964c-10e5b68d43e8}",
|
||||
"out_index": 0
|
||||
},
|
||||
{
|
||||
"in_id": "{d8f4d14a-c67a-470f-87bf-8f60d9513c3b}",
|
||||
"in_index": 1,
|
||||
"out_id": "{c6058af1-6913-4218-a9b9-11adb5cdffa0}",
|
||||
"out_index": 0
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"locationIndex": 0,
|
||||
"name": "inPos",
|
||||
"role": "Position",
|
||||
"roleIndex": 0,
|
||||
"type": "Float3"
|
||||
},
|
||||
{
|
||||
"locationIndex": 1,
|
||||
"name": "inNormals",
|
||||
"role": "Normal",
|
||||
"roleIndex": 0,
|
||||
"type": "Float3"
|
||||
},
|
||||
{
|
||||
"locationIndex": 2,
|
||||
"name": "inTexCoord",
|
||||
"role": "TexCoord",
|
||||
"roleIndex": 0,
|
||||
"type": "Float2"
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"id": "{43ce1867-629f-442b-a672-540fa67f1446}",
|
||||
"model": {
|
||||
"name": "Output",
|
||||
"output": "vertUV",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 128,
|
||||
"preview_width": 128,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 243,
|
||||
"y": 292
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{412684ce-0ec2-4db5-964c-10e5b68d43e8}",
|
||||
"model": {
|
||||
"input": "inNormals",
|
||||
"name": "Input",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 79,
|
||||
"y": 184
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{0fc53363-dbce-4874-8de5-5ca05ae038b7}",
|
||||
"model": {
|
||||
"name": "Output",
|
||||
"output": "vertNormal",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 128,
|
||||
"preview_width": 128,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 240,
|
||||
"y": 192
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{33840c70-4e37-4127-bab0-23c4a4cb6d7f}",
|
||||
"model": {
|
||||
"input": "inTexCoord",
|
||||
"name": "Input",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 82,
|
||||
"y": 287
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{d8f4d14a-c67a-470f-87bf-8f60d9513c3b}",
|
||||
"model": {
|
||||
"name": "mat4_mul",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 248,
|
||||
"y": 424
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{1bb9712b-8bff-4398-9e4e-fba79a04df0e}",
|
||||
"model": {
|
||||
"name": "mat4_mul",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 463,
|
||||
"y": 496
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{c3b906bc-d230-4026-a32e-34c00eaf4481}",
|
||||
"model": {
|
||||
"input": "inPos",
|
||||
"name": "Input",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 54,
|
||||
"y": 675
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{62731a4b-f054-4f78-82da-08d2584e51ab}",
|
||||
"model": {
|
||||
"name": "mat4vec_mul",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 699,
|
||||
"y": 512
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{7ac65f09-7f55-4a6e-9380-1bee5213f079}",
|
||||
"model": {
|
||||
"name": "cast_vec4",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"value": [
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 345,
|
||||
"y": 668
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{63bb13f0-55e3-451b-860e-568b65e09b04}",
|
||||
"model": {
|
||||
"name": "PositionOutputValue",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 930,
|
||||
"y": 524
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{d32dfb1d-c8a4-4315-a710-90d2a51f68e8}",
|
||||
"model": {
|
||||
"buffer": "viewerData",
|
||||
"field": "projectionMatrix",
|
||||
"name": "BufferField",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 21,
|
||||
"y": 374
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{c6058af1-6913-4218-a9b9-11adb5cdffa0}",
|
||||
"model": {
|
||||
"buffer": "viewerData",
|
||||
"field": "viewMatrix",
|
||||
"name": "BufferField",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 25,
|
||||
"y": 456
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "{a2fff9e2-af6e-4c7f-80ee-ca3492f3c5ab}",
|
||||
"model": {
|
||||
"buffer": "instanceData",
|
||||
"field": "worldMatrix",
|
||||
"name": "BufferField",
|
||||
"preview_enabled": false,
|
||||
"preview_height": 64,
|
||||
"preview_width": 64,
|
||||
"variable_name": ""
|
||||
},
|
||||
"position": {
|
||||
"x": 27,
|
||||
"y": 538
|
||||
}
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"locationIndex": 0,
|
||||
"name": "vertNormal",
|
||||
"type": "Float3"
|
||||
},
|
||||
{
|
||||
"locationIndex": 1,
|
||||
"name": "vertUV",
|
||||
"type": "Float2"
|
||||
}
|
||||
],
|
||||
"structs": [
|
||||
{
|
||||
"members": [
|
||||
{
|
||||
"name": "AlphaThreshold",
|
||||
"type": "Float"
|
||||
},
|
||||
{
|
||||
"name": "DiffuseColor",
|
||||
"type": "Float3"
|
||||
}
|
||||
],
|
||||
"name": "BasicSettings"
|
||||
},
|
||||
{
|
||||
"members": [
|
||||
{
|
||||
"name": "worldMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "invWorldMatrix",
|
||||
"type": "Mat4x4"
|
||||
}
|
||||
],
|
||||
"name": "InstanceData"
|
||||
},
|
||||
{
|
||||
"members": [
|
||||
{
|
||||
"name": "projectionMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "invProjectionMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "viewMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "invViewMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "viewProjMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "invViewProjMatrix",
|
||||
"type": "Mat4x4"
|
||||
},
|
||||
{
|
||||
"name": "renderTargetSize",
|
||||
"type": "Float2"
|
||||
},
|
||||
{
|
||||
"name": "invRenderTargetSize",
|
||||
"type": "Float2"
|
||||
},
|
||||
{
|
||||
"name": "eyePosition",
|
||||
"type": "Float3"
|
||||
}
|
||||
],
|
||||
"name": "ViewerData"
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
],
|
||||
"type": "Vertex"
|
||||
}
|
||||
Reference in New Issue
Block a user