-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathneon.js
53 lines (49 loc) · 1.67 KB
/
neon.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright 2022 by Croquet Corporation, Inc. All Rights Reserved.
// https://croquet.io
export function init(Constants) {
Constants.AvatarNames = ["newwhite"];
Constants.UserBehaviorDirectory = "behaviors/neon";
Constants.UserBehaviorModules = [
"lights.js",
"bloompass.js",
];
Constants.DefaultCards = [
{
card: {
name: "entrance",
type: "object",
translation: [0, 0, 12],
rotation: [0, 0, 0],
spawn: "default",
}
},
{
card: {
name: "light",
layers: ["light"],
type: "lighting",
behaviorModules: ["Light"],
}
},
{
card: {
name:"world model",
layers: ["walk"],
type: "3d",
behaviorModules: ["BloomPass"],
singleSided: true,
shadow: false,
translation: [0, -1.7, 0],
fileName: "scifi.glb",
modelType: "glb",
dataLocation: "3w2MWUEGDG7BdjeMe6E0SBr0f7P5vuX4OJz1K8aL8V8wHwMDBwRNWFgRHhsSBFkCBFkUBRgGAhIDWR4YWAJYMBMhFQ4bPgQ2HCYUNS8TRDAPFgEOACI8IC4uRVgeGFkUBRgGAhIDWRoeFAUYARIFBBJYEQImIUUoRDonRTFHAB4bGTUBD0cxPUdDIDQfTxg2LxQRPgYyMiU9RRkZNlgTFgMWWAZPGTw0LkZCOQ0tESQhMUYHMB8UWiJOOzggMDZDFRxOIk8_Tz1CKDIBERw",
dataScale: [2, 2, 2],
placeholder: true,
placeholderSize: [400, 0.1, 400],
placeholderColor: 0x000000,
placeholderOffset: [0, 0, 0],
}
},
];
}