luan_ngo

Members
  • Content Count

    8
  • Joined

  • Last visited

  1. Hi everybody, I've applied the sky material to a skydome and I'm quite happy with the results. But, I'm creating a game that includes aircraft flying quite high and am realizing that the skymaterial is attached to the camera.position.y rather than 0 or a specified mesh. So, when the camera is really high up, the horizon is also too high. Is there an easy way to make the skymaterial relative to another height position or 0? Here's a playground: https://www.babylonjs-playground.com/#E6OZX#218 Thanks!
  2. Are there any other ways to do this? I'd like to have a light fog in a scene, but the fog blocks out the skybox reflection in the water.
  3. All good! It works pretty well. https://playground.babylonjs.com/#BF7SWW#41 But, I've moved to a SPS because my ground tiles have opacity textures. https://playground.babylonjs.com/#BF7SWW#43 You can see my implementation of it in the picture below. Thank you both for your help on this. I am experiencing issues with screen flicker across my entire scene, but that's likely because my scene spans some couple of hundred thousand pixels. I'll ask questions about this in another topic!
  4. Here's my attempt to hack together a scene: https://playground.babylonjs.com/#BF7SWW#36 The lines relating to the particle begin at 177. Also, I searched the forums and saw that there is a limitation re: particles and alphas. Is it still the case that particles won't display overtop of meshes with alpha channels or has this since been resolved? Finally, I want to say great work with the documentation and examples. At first, I was fairly intimidated to make the switchover from CesiumJS to BabylonJS. But, it only took me a day or so to put together a rough scene that I was happy with. A lot of it is thanks to the detailed documentation on the website.
  5. Wow, thank you for the incredibly detailed and helpful response. I was able to achieve a similar result with CesiumJS and wanted to play with other approaches to achieve the wake effect. The problem in Cesium is that it consumed a lot of processing power, but I'll play with BabylonJS to see whether it's more efficient under this approach. Thanks for your help!
  6. Hi everybody, I'm trying to create a ship wake effect similar to the one below. I'm using a particle texture but am having difficulty aligning the texture properly. I've turned off billboard based particles, so that it would not face the camera. But, it current is aligned in the direction that the particles are being emitted. I'd like to rotate it 90 degrees along the y-axis but can't figure out how. Any suggestions?