Jump to content

About clearBeforeRender


ftguy2018
 Share

Recommended Posts

Hello, can we change the renderer  clearBeforeRender property outside of the config.js file ? I had like to turn it ON/OFF based on the scene but it seems that game.renderer.clearBeforeRender does nothing if changed during the scene init....

Please kindly advise,

 

Link to comment
Share on other sites

@enpu    game.Renderer.clearBeforeRender = false  does nothing either, I am using the pixi plugin and nothing is working but the config.js in webgl, if not webgl then it seems to work,  also the sprite.tint is not consistent between webgl and canvas, in one case it seems to modulate the color (webgl) while in canvas mode it does blend the sprite with the color based on the tintAlpha....so totally different, can we get the same on both renderers ? or even better, can we decide which one to use  in a way that it will be the same on both ?

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