.. | .. |
---|
71 | 71 | perspective = false; |
---|
72 | 72 | break; |
---|
73 | 73 | case 4: // Default light |
---|
74 | | - location = LA.newVector(-5, 20, 10); |
---|
| 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; |
---|