Jump to content

[SOLVED]EdgesRendering difference between 2.5 & 3.0


lhx880619
 Share

Recommended Posts

Hi all,

I just find that EdgesRendering in the latest 3.0-beta is different from 2.5. 

see pg http://playground.babylonjs.com/#TM2NLD

v2.5 http://playground.babylonjs.com/index2_5.html#TM2NLD

Especially on my android phone. 2.5 lines are very clear, while 3.0 looks bad.

but i want to use new gui which is only support for 3.0:( ,do you guys konw how to show clear edgelines in 3.0?

or please correct this pg http://www.babylonjs-playground.com/index2_5.html#1KYG17#1 so that i can use for 2.5

S70601-112616.thumb.jpg.5aed322b5d378a6b775dce4cba99b9a9.jpg

S70601-11253500.thumb.jpg.5ab31b12d1898fb7271f11e2fdcf7520.jpg

Link to comment
Share on other sites

This is just a resolution question :)

in 2.5 we used the maximum resolution of your device. This was blocked in 3.0 because it was too expensive.

You can still do it in 3.0 when creating your engine (set the 4th parameter to true):

var engine = new BABYLON.Engine(canvas, antialiasing, options, adaptToDeviceRatio)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...