.. | .. |
---|
52 | 52 | perspective = true; |
---|
53 | 53 | break; |
---|
54 | 54 | case 1: // '\001' |
---|
55 | | - location = LA.newVector(0, 0, 4); |
---|
| 55 | + location = LA.newVector(4, 0, 0); |
---|
56 | 56 | perspective = false; |
---|
57 | 57 | break; |
---|
58 | 58 | case 2: // '\002' |
---|
.. | .. |
---|
63 | 63 | //LA.matXRotate(fromScreen, LA.toRadians(90)); |
---|
64 | 64 | break; |
---|
65 | 65 | case 3: // '\003' |
---|
66 | | - location = LA.newVector(4, 0, 0); |
---|
| 66 | + location = LA.newVector(0, 0, 4); |
---|
67 | 67 | //LA.matZRotate(toScreen, LA.toRadians(-90)); |
---|
68 | 68 | //LA.matXRotate(toScreen, LA.toRadians(-90)); |
---|
69 | 69 | //LA.matXRotate(fromScreen, LA.toRadians(90)); |
---|
.. | .. |
---|
71 | 71 | perspective = false; |
---|
72 | 72 | break; |
---|
73 | 73 | case 4: // Default light |
---|
74 | | - location = LA.newVector(-10, 30, 20); |
---|
| 74 | + location = LA.newVector(-5, 15, 10); |
---|
75 | 75 | perspective = false; |
---|
76 | 76 | break; |
---|
77 | 77 | } |
---|
.. | .. |
---|
106 | 106 | background = LA.newVector(0.8, 0.8, 0.8); |
---|
107 | 107 | } |
---|
108 | 108 | |
---|
| 109 | + void CreateMaterial(boolean multiply) |
---|
| 110 | + { |
---|
| 111 | + super.CreateMaterial(multiply); |
---|
| 112 | + |
---|
| 113 | + material.shift = 90; |
---|
| 114 | + material.cameralight = 0.2f; |
---|
| 115 | + material.shadowbias = 10; |
---|
| 116 | + } |
---|
| 117 | + |
---|
109 | 118 | void setAspect(int width, int height) |
---|
110 | 119 | { |
---|
111 | 120 | //hAspect = width; |
---|