Jump to content

[SOLVED]EdgesRendering difference between 2.5 & 3.0


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



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.

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.


  • Recently Browsing   0 members

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