mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:37:51 +02:00
siwthcessss
This commit is contained in:
parent
3ee41404f7
commit
fa3ecc93a6
1 changed files with 11 additions and 8 deletions
|
@ -23,21 +23,24 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
modelEmitOn: function(discModel) {
|
modelEmitOn: function(discModel) {
|
||||||
|
var data = {
|
||||||
|
"Tex.Lamp-Bulldog": "atp:/kineticObjects/lamp/Lamp-Bulldog-Base.fbx/Lamp-Bulldog-Base.fbm/dog_statue.jpg",
|
||||||
|
"Texture.001": "atp:/kineticObjects/lamp/Lamp-Bulldog-Base.fbx/Lamp-Bulldog-Base.fbm/Emissive-Map.png"
|
||||||
|
}
|
||||||
|
|
||||||
Entities.editEntity(glowDisc, {
|
Entities.editEntity(glowDisc, {
|
||||||
textures: {
|
textures: JSON.stringify(data)
|
||||||
"Tex.Lamp-Bulldog": "http://hifi-content.s3.amazonaws.com/alan/dev/Lamp-Bulldog-Base.fbx/Lamp-Bulldog-Base.fbm/dog_statue.jpg",
|
|
||||||
"Texture.001": "http://hifi-content.s3.amazonaws.com/alan/dev/Lamp-Bulldog-Base.fbx/Lamp-Bulldog-Base.fbm/Emissive-Map.png"
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
modelEmitOff: function(discModel) {
|
modelEmitOff: function(discModel) {
|
||||||
|
var data = {
|
||||||
|
"Tex.Lamp-Bulldog": "atp:/kineticObjects/lamp/Lamp-Bulldog-Base.fbx/Lamp-Bulldog-Base.fbm/dog_statue.jpg",
|
||||||
|
"Texture.001": ""
|
||||||
|
};
|
||||||
Entities.editEntity(glowDisc, {
|
Entities.editEntity(glowDisc, {
|
||||||
textures: {
|
textures: JSON.stringify(data)
|
||||||
"Tex.Lamp-Bulldog": "http://hifi-content.s3.amazonaws.com/alan/dev/Lamp-Bulldog-Base.fbx/Lamp-Bulldog-Base.fbm/dog_statue.jpg",
|
|
||||||
"Texture.001": ""
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue