add null normal support in bme. fix rail cret draw()
This commit is contained in:
@ -68,12 +68,7 @@
|
||||
"(uv_border_texture, uv_length)",
|
||||
"(uv_border_texture, 0)"
|
||||
],
|
||||
"normals": [
|
||||
"(0, sink, 2.5)",
|
||||
"(0, sink, 2.5)",
|
||||
"(0, sink, 2.5)",
|
||||
"(0, sink, 2.5)"
|
||||
]
|
||||
"normals": null
|
||||
}
|
||||
],
|
||||
"instances": [
|
||||
|
@ -75,11 +75,7 @@
|
||||
"(NXNY_uv, 0)",
|
||||
"(PXPY_uv, 0)"
|
||||
],
|
||||
"normals": [
|
||||
"(0, PXPY_sink - NXNY_sink, 2.5)",
|
||||
"(0, PXPY_sink - NXNY_sink, 2.5)",
|
||||
"(0, PXPY_sink - NXNY_sink, 2.5)"
|
||||
]
|
||||
"normals": null
|
||||
},
|
||||
{
|
||||
"skip": "not face[0]",
|
||||
@ -90,11 +86,7 @@
|
||||
"(PXPY_uv, 0)",
|
||||
"(NXNY_uv, 0)"
|
||||
],
|
||||
"normals": [
|
||||
"(PXPY_sink - NXNY_sink, 0, 2.5)",
|
||||
"(PXPY_sink - NXNY_sink, 0, 2.5)",
|
||||
"(PXPY_sink - NXNY_sink, 0, 2.5)"
|
||||
]
|
||||
"normals": null
|
||||
}
|
||||
],
|
||||
"instances": [
|
||||
|
@ -92,12 +92,7 @@
|
||||
"(uv_height - uv_right_sink, uv_length)",
|
||||
"(0, uv_length)"
|
||||
],
|
||||
"normals": [
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)"
|
||||
]
|
||||
"normals": null
|
||||
},
|
||||
{
|
||||
"skip": "skip_long_side",
|
||||
@ -109,12 +104,7 @@
|
||||
"(1 - uv_left_sink, uv_length)",
|
||||
"(0, uv_length)"
|
||||
],
|
||||
"normals": [
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)"
|
||||
]
|
||||
"normals": null
|
||||
},
|
||||
{
|
||||
"skip": "skip_long_side",
|
||||
@ -126,12 +116,7 @@
|
||||
"(uv_height - 1.0, uv_length)",
|
||||
"(0, uv_length)"
|
||||
],
|
||||
"normals": [
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)"
|
||||
]
|
||||
"normals": null
|
||||
}
|
||||
],
|
||||
"instances": []
|
||||
@ -189,12 +174,7 @@
|
||||
"(uv_width, uv_length)",
|
||||
"(0, uv_length)"
|
||||
],
|
||||
"normals": [
|
||||
"(0, 0, -1)",
|
||||
"(0, 0, -1)",
|
||||
"(0, 0, -1)",
|
||||
"(0, 0, -1)"
|
||||
]
|
||||
"normals": null
|
||||
}
|
||||
],
|
||||
"instances": []
|
||||
|
@ -68,12 +68,7 @@
|
||||
"(1, 1)",
|
||||
"(0, 1)"
|
||||
],
|
||||
"normals": [
|
||||
"(0, 0, 1)",
|
||||
"(0, 0, 1)",
|
||||
"(0, 0, 1)",
|
||||
"(0, 0, 1)"
|
||||
]
|
||||
"normals": null
|
||||
},
|
||||
{
|
||||
"skip": "(not face[1]) or height == 0.0",
|
||||
@ -85,12 +80,7 @@
|
||||
"(1, 1)",
|
||||
"(0, 1)"
|
||||
],
|
||||
"normals": [
|
||||
"(0, 0, -1)",
|
||||
"(0, 0, -1)",
|
||||
"(0, 0, -1)",
|
||||
"(0, 0, -1)"
|
||||
]
|
||||
"normals": null
|
||||
},
|
||||
{
|
||||
"skip": "(not face[2]) or height == 0.0",
|
||||
@ -102,12 +92,7 @@
|
||||
"(uv_height, 1)",
|
||||
"(0, 1)"
|
||||
],
|
||||
"normals": [
|
||||
"(-1, 0, 0)",
|
||||
"(-1, 0, 0)",
|
||||
"(-1, 0, 0)",
|
||||
"(-1, 0, 0)"
|
||||
]
|
||||
"normals": null
|
||||
},
|
||||
{
|
||||
"skip": "(not face[3]) or height == 0.0",
|
||||
@ -119,12 +104,7 @@
|
||||
"(uv_height, 1)",
|
||||
"(0, 1)"
|
||||
],
|
||||
"normals": [
|
||||
"(1, 0, 0)",
|
||||
"(1, 0, 0)",
|
||||
"(1, 0, 0)",
|
||||
"(1, 0, 0)"
|
||||
]
|
||||
"normals": null
|
||||
},
|
||||
{
|
||||
"skip": "(not face[4]) or height == 0.0",
|
||||
@ -136,12 +116,7 @@
|
||||
"(uv_height, 1)",
|
||||
"(0, 1)"
|
||||
],
|
||||
"normals": [
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)",
|
||||
"(0, -1, 0)"
|
||||
]
|
||||
"normals": null
|
||||
},
|
||||
{
|
||||
"skip": "(not face[5]) or height == 0.0",
|
||||
@ -153,12 +128,7 @@
|
||||
"(uv_height, 1)",
|
||||
"(0, 1)"
|
||||
],
|
||||
"normals": [
|
||||
"(0, 1, 0)",
|
||||
"(0, 1, 0)",
|
||||
"(0, 1, 0)",
|
||||
"(0, 1, 0)"
|
||||
]
|
||||
"normals": null
|
||||
}
|
||||
],
|
||||
"instances": []
|
||||
|
Reference in New Issue
Block a user