mirror of https://github.com/axmolengine/axmol.git
38 lines
704 B
Plaintext
38 lines
704 B
Plaintext
{
|
|
"metadata" : {
|
|
"version" : 1,
|
|
"type" : "material"
|
|
},
|
|
"name" : "spaceship",
|
|
"techniques" : [
|
|
{
|
|
"name": "simple",
|
|
"passes": [
|
|
{
|
|
"renderState": {
|
|
"blend": "true",
|
|
"blendSrc": "ONE_MINUS_SRC_ALPHA",
|
|
"blendDst": "ONE_MINUS_SRC_ALPHA"
|
|
},
|
|
"shader" : {
|
|
"defines": "",
|
|
"vertexShader": "Shaders/example_3D_PositionTex.vsh",
|
|
"fragmentShader": "Shaders/example_3D_PositionTex.fsh",
|
|
"u_color": [1,1,1,1]
|
|
},
|
|
"textures": [
|
|
{
|
|
"path": "Sprite3DTest/boss.png",
|
|
"wrapS": "CLAMP_TO_EDGE",
|
|
"wrapT": "CLAMP_TO_EDGE",
|
|
"minFilter": "LINEAR",
|
|
"magFilter": "LINEAR",
|
|
"mipmap": "false"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|