Jump to content

inconsistencies between renderers


atrilumen
 Share

Recommended Posts

I've noticed that things (textures (with alpha) created from canvases; bitmap texts) drawn with the webGL renderer have light colored outlines that are not present with the canvas renderer.

 

Is there anything I can do to mitigate it?

 

Also, there's a large disparity between the effective translucency of sprites drawn with the two renderers. For now I'm switching between two different alpha values depending on renderer type, but the screenshot below shows the difference without that workaround applied. (It's a relatively difficult workaround to apply; subject to lots of tweaking to get it close enough.)

 

post-5722-0-42640500-1386523075.png

 

post-5722-0-64909300-1386523076.png

 

...

Sorry to pop in here for the first time just to whine. Greetings, everyone.

GoodBoyDigital, PhotonStorm, and friends:  respect.

 

 

Link to comment
Share on other sites

The sprite textures are drawn with canvas and then loaded into textures. The bitmap font glyphs were generated by littera.

 

I'm using a snapshot from the dev branch of pixi, and the latest chrome on a Macbook Pro 13" with Intel HD3000. That's the only way I've tried it so far (besides using the 1.3.0 release of pixi).

 

I'll try to upload a test in a little while (it's hard to stay focused on the weekend)...

Link to comment
Share on other sites

@Aksis: Yes.

 

The project I'm working on originally had a white background before I decided to use a transparent canvas over a background image.

 

So I suppose this could still be an issue.

 

I wonder why white causes those effects when black does not. (I'm passing black explicitly now, since you mentioned it). I guess I may have to dig into Pixi more than I planned.

Link to comment
Share on other sites

@Aksis: Yes.

 

The project I'm working on originally had a white background before I decided to use a transparent canvas over a background image.

 

So I suppose this could still be an issue.

 

I wonder why white causes those effects when black does not. (I'm passing black explicitly now, since you mentioned it). I guess I may have to dig into Pixi more than I planned.

 

Probably because your images are black, I suspect you would have black artifacts if you were using white images.

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...