[英]Why isn't it the same with canvas, and webgl renderer? (three.js)
I try to render a sphere with three.js, but if I render it with canvasRenderer, then there are grey lines on the sphere 我尝试使用three.js渲染球体,但是如果使用canvasRenderer渲染球体,则该球体上会有灰线
code: http://jsfiddle.net/jzpSJ/ 代码: http : //jsfiddle.net/jzpSJ/
screenshot: http://desmond.imageshack.us/Himg209/scaled.php?server=209&filename=canvase.png&res=landing 屏幕截图: http : //desmond.imageshack.us/Himg209/scaled.php?server = 209&filename = canvase.png&res = landing
But if I render it with webGL renderer in opera next, then it looks awful 但是如果接下来我在Opera中使用webGL渲染器渲染它,那看起来就很糟糕
code: http://jsfiddle.net/jzpSJ/1/ 代码: http : //jsfiddle.net/jzpSJ/1/
screenshot: http://desmond.imageshack.us/Himg51/scaled.php?server=51&filename=webglopera.png&res=landing 屏幕截图: http : //desmond.imageshack.us/Himg51/scaled.php?server = 51&filename = webglopera.png&res = landing
In google chrome it looks as it should be. 在谷歌浏览器,它看起来应该是。
Thanks in advance, 提前致谢,
CanvasRenderer: CanvasRenderer:
Change material definition, overdraw: false
must be overdraw: true
更改材料定义,
overdraw: false
必须overdraw: true
WebGLRenderer: WebGLRenderer:
WebGL and Opera? WebGL和Opera? Are you testing the alpha version?
您是否正在测试Alpha版本? A lot of things still broken.
很多事情还是坏了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.