mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 15:47:02 +02:00
Update grid alpha
This commit is contained in:
parent
ec1ef39a7f
commit
a8de290482
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ Grid = function(opts) {
|
|||
{ red: 255, green: 0, blue: 0 },
|
||||
];
|
||||
var colorIndex = 0;
|
||||
var gridAlpha = 1.0;
|
||||
var gridAlpha = 0.6;
|
||||
var origin = { x: 0, y: 0, z: 0 };
|
||||
var majorGridEvery = 5;
|
||||
var minorGridWidth = 0.2;
|
||||
|
@ -24,7 +24,7 @@ Grid = function(opts) {
|
|||
position: { x: 0 , y: 0, z: 0 },
|
||||
visible: true,
|
||||
color: colors[0],
|
||||
alpha: 1.0,
|
||||
alpha: gridAlpha,
|
||||
rotation: Quat.fromPitchYawRollDegrees(90, 0, 0),
|
||||
minorGridWidth: 0.1,
|
||||
majorGridEvery: 2,
|
||||
|
|
Loading…
Reference in a new issue