Jump to content

aldanor

Members
  • Posts

    2
  • Joined

  • Last visited

aldanor's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. @NasimiAsl Thanks for the example -- however, it's slightly different; look, in my codepen the mask was preventing *any* rendering of the main scene, and you could see the background clearly through it (as opposed to postprocessing just being applied on top). In your example, is it possible to prevent the sphere to be rendered at all at the masked locations?
  2. After skimming through Babylon.js docs, I couldn't quite figure out whether it's possible to have one scene mask another (apologies if I mix up some common terminology). In THREE.js, you could set up a separate MaskPass for that; here's an example I put together of what I want to achieve: https://codepen.io/aldanor/pen/NOawKb Would it be possible to reproduce this example in Babylon.js? // Thanks in advance
×
×
  • Create New...