mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:58:09 +02:00
emissive maps
This commit is contained in:
parent
759c29ab10
commit
60e46481b2
2 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -43,7 +43,7 @@ var LOCAL_NORMAL_BEZEL = Script.resourcesPath() + "images/buttonBezel.png";
|
||||||
var LOCAL_TABLET_MODEL_PATH = Script.resourcesPath() + "meshes/tablet-with-home-button-small-bezel.fbx";
|
var LOCAL_TABLET_MODEL_PATH = Script.resourcesPath() + "meshes/tablet-with-home-button-small-bezel.fbx";
|
||||||
var HIGH_PRIORITY = 1;
|
var HIGH_PRIORITY = 1;
|
||||||
var LOW_PRIORITY = 0;
|
var LOW_PRIORITY = 0;
|
||||||
var SUBMESH = 3;
|
var SUBMESH = 2;
|
||||||
|
|
||||||
// returns object with two fields:
|
// returns object with two fields:
|
||||||
// * position - position in front of the user
|
// * position - position in front of the user
|
||||||
|
@ -205,7 +205,7 @@ WebTablet = function (url, width, dpi, hand, clientOnly, location, visible) {
|
||||||
visible: false,
|
visible: false,
|
||||||
materialData: JSON.stringify({
|
materialData: JSON.stringify({
|
||||||
materials: {
|
materials: {
|
||||||
albedoMap: LOCAL_BEZEL_HIGHLIGHT
|
emissiveMap: LOCAL_BEZEL_HIGHLIGHT
|
||||||
}
|
}
|
||||||
|
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue