Kweihsi Ku

Members
  • Content count

    4
  • Joined

  • Last visited

About Kweihsi Ku

  • Rank
    Newbie

Contact Methods

  • Twitter
    kukueihsi
  1. Kweihsi Ku

    transparency of shaderMatetrial is not working.

    According to the discussion here. Object must be visible all the time for rendertargettexture. http://www.html5gamedevs.com/topic/13053-scene-compositing-problems/ I hack it by move the spheres away. So they are "hidden" behind something I need to render. http://www.babylonjs-playground.com/#EEOWP#7
  2. Kweihsi Ku

    transparency of shaderMatetrial is not working.

    I do have another follow up question. After making "holes" in the fog, I do not wanna render those spheres in the main scene. I try to set isVisible true before rendering to texture and false after. I create another sphere2 for testing the holes. But it seems not working. http://www.babylonjs-playground.com/#EEOWP#5
  3. Kweihsi Ku

    transparency of shaderMatetrial is not working.

    That is what exactly I need. I am plan to implement fog of war effect by put this texture as a layer of the camera.
  4. I followed the render to texture discussion with the example of depth buffer. And I set the alpha channel in the fragment shader to zero. But the spheres the plane is not transparent at all. I have set needAlphaBlending to true. Am I missing anything? http://www.babylonjs-playground.com/#EEOWP#1