Jump to content

Italianbadboy

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. i have read this post https://github.com/pixijs/pixi.js/issues/430 this one https://github.com/pixijs/pixi.js/issues/761 but refer to an older version of pixi ... in pixi v3 there'sn't dirty property ...this https://github.com/pixijs/pixi.js/issues/1980 ....this http://www.html5gamedevs.com/topic/9255-pixijs-caching/page-2 ...this https://www.snip2code.com/Snippet/181404/Update-pixi-texture-from-canvas
  2. <!DOCTYPE html> <html> <head> <meta charset="utf8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui" /> <title>Pixi Lighting</title> <style> html, body { margin:0; padding: 0 } </style> </head> <body> <script src="file:///C|/Program Files (x86)/three.js/examples/js/libs/stats.min.js"></sc
  3. No error ...only a white page appear. If Someone have understood on the mainstage of pixi should be a sprite1.this sprite1's texture is the stage ( or container) of pixi-light.js. i do so because pixi-light.js is limited in order of metod and function respect pixi version 3.xx and don't let me rotate a little star who scroll from right to left of a text.when the star scroll each char must be light. It's a wonderful effect with normal map in pixi-light.js. then the sprite2 of the mainstage is the little star who scroll. Now i post the new test i have written using rendertexture function. In thi
  4. hi, my problem is that i'm not able to use canvas as texture for my sprite. i tried to write the following code, someone can help me telling what i wrong? the code: <body> <script src="file:///C|/Program Files (x86)/js/pixi.js/bin/pixi.js"></script> <script src="file:///C|/Program Files (x86)/js/pixi.js/pixi-lights-master/bin/pixi-lights.js"></script> <script> var LightRenderer = new PIXI.lights.WebGLDeferredRenderer(1355, 700), MainRenderer = new PIXI.autoDetectRenderer(1355, 700), LightStage = new PIXI.Conta
×
×
  • Create New...