SinhNQ

Members
  • Content Count

    82
  • Joined

  • Last visited

  • Days Won

    1

SinhNQ last won the day on September 2

SinhNQ had the most liked content!

About SinhNQ

  • Rank
    Advanced Member
  • Birthday 09/05/1993

Profile Information

  • Gender
    Male
  • Location
    VN

Recent Profile Visitors

895 profile views
  1. SinhNQ

    (GPU)ParticleSystem - noiseTexture can not run

    Very fast! Thanks
  2. The Noise Texture was added can not run after start GPUParticleSystem and ParticleSystem. GPU version: https://www.babylonjs-playground.com/#R1JWLA#5 CPU version: https://www.babylonjs-playground.com/#R1JWLA#6 (pls see console).
  3. Looks good for me, thanks DK! 😍
  4. As like the title, please click multi times: https://www.babylonjs-playground.com/#PU4WYI#53
  5. Hi @Nodragem disposeOnEnd property has set = true by default : https://github.com/BabylonJS/Babylon.js/blob/master/src/Animations/babylon.animatable.ts#L19 Fixed in line 64 : https://www.babylonjs-playground.com/#8ZNVGR#5
  6. Hi @jurito From link above github, i saw them use more than one shader to create effects. I have ported 2 shaders BadTVShader.js and SaticShader.js. Here: https://github.com/felixturner/bad-tv-shader/tree/master/example/js Demo: https://www.babylonjs-playground.com/#DAC1WM#3 The other, you do the same. Hope this help you!
  7. Hi @PiyushBhalala You can easy port shader code from ShaderFrog with Babylon.js engine. 1) Learn about the BABYLON.ShaderMaterial: - A great tutorial using shader code in Babylon.js: https://babylonjsguide.github.io/advanced/Putting - Document: http://doc.babylonjs.com/api/classes/babylon.shadermaterial 2) Port shader code from ShaderFrog: - Copy code from Fragment & Vertex tag. - Convert uniforms name: The rules: + projectionMatrix -> projection + modelViewMatrix -> worldview + viewMatrix -> view + modelMatrix -> world Full example : http://playground.babylonjs.com/#I423WZ The above example has ported from: https://shaderfrog.com/app/view/2575 Hope this help you
  8. SinhNQ

    Combine Babylon.js with Pixi.js

    Hi Vorion! The use of 2 canvases are the bad performance. With my solution, babylon.js and pixi.js shared webgl context, them will give better performance.
  9. SinhNQ

    Combine Babylon.js with Pixi.js

    1) Basically, TweenMax.js will interpolate the value of the target over time and assign that value to the target. Above example: the target is ground.rotation, value is y. TweenMax.js will interpolate from current value ground.rotation.y to Math.PI * 2. 2) I have not read the license for a long time, I do not know if they have changed or not. All my games use TweenMax.js for free.
  10. SinhNQ

    Combine Babylon.js with Pixi.js

    Hi Jack! I don't think babylon.js can mix with jQuery, jQuery.animate only effect for a object of CSS properties. With GSAP lib - TweenMax.js is FREE 😁
  11. SinhNQ

    Combine Babylon.js with Pixi.js

    OK i will do it when there is free time. Should i add into Resources/Library folder in the Document?
  12. SinhNQ

    Combine Babylon.js with Pixi.js

    Thanks Dk and jerome! 😃
  13. Hello, * Introducing a bit of pixi.js: pixi.js has full webgl support, a best framework for 2D game with rendering very fast. Would be great if you want make UI game with pixi.js and combine with babylon.js. (Will I get paid for advertising? NO..🤣) Demo babylon.js + pixi.js : https://jsfiddle.net/y5q7Lb1v/21/ This is a perfect duo for your web game world, which you can create high quality games. 😁 Moreover, you can also use GSAP for creating high-performance animations. Demo babylon.js + pixi.js + GSAP lib: https://jsfiddle.net/y5q7Lb1v/28/
  14. Original demo: https://www.babylonjs-playground.com/#CQNGRK I replaced StandardMaterial with BackgroundMaterial but Projection Texture of Spot Light not display. https://www.babylonjs-playground.com/#CQNGRK#15 How to fix it? Thanks for any helps. 😀