优化贴地文字、立体文字颜色
This commit is contained in:
@ -649,7 +649,7 @@ class GroundText extends Base {
|
||||
ctx.font = 200 + 'px serif'
|
||||
ctx.fillStyle = 'rgba(255, 255, 255, 0)'
|
||||
ctx.fillRect(0, 0, maxWidth + 30, 210)
|
||||
ctx.fillStyle = this.options.color
|
||||
ctx.fillStyle = 'rgba(255, 255, 255, 1)'
|
||||
ctx.font = '200px serif'
|
||||
ctx.fillText(textArray[i], 0, 210 * (i + 1))
|
||||
}
|
||||
|
@ -508,7 +508,7 @@ class StandText extends Base {
|
||||
ctx.font = 200 + "px serif";
|
||||
ctx.fillStyle = 'rgba(255, 255, 255, 0)'
|
||||
ctx.fillRect(0, 0, maxWidth + 30, 210)
|
||||
ctx.fillStyle = this.options.color;
|
||||
ctx.fillStyle = 'rgba(255, 255, 255, 1)';
|
||||
ctx.font = "200px serif";
|
||||
ctx.fillText(textArray[i], 0, 210 * (i+1));
|
||||
}
|
||||
|
@ -238,8 +238,8 @@ function StreamWall2() {
|
||||
else {
|
||||
material.alpha = 1.0;
|
||||
}
|
||||
material.diffuse = color.rgb*0.0;
|
||||
material.emission = color.rgb * 1.0;
|
||||
material.diffuse = colorImage.rgb * color.rgb*0.0;
|
||||
material.emission = colorImage.rgb * color.rgb * 1.0;
|
||||
return material;
|
||||
}`,
|
||||
components: {
|
||||
|
Reference in New Issue
Block a user