PixelPush

Members
  • Content count

    40
  • Joined

  • Last visited

  1. Volumetric Light

    Having a play with volumetric lighting scattering post process. I'm trying to achieve a beam of light, like that from a torch or spot light. So far I've only managed to get points of light to emit from the mesh in a radial/global pattern. Is it possible to control how the rays are emitted from the mesh and/or light Ta
  2. PBR albedoTexture Strength (Solved)

    Thanks @Sebavan !
  3. Is there anyway to fade the albedoTexture of a PBR material, so that I can animate this material to a plain colour? I notice there is an ambientTextureStrength property. but no albedoTextureStrength property. Cheers
  4. I need to preload some skybox maps in order to create a CubeTexture, since there are six maps loaded, how do I then regroup these separate images back as a single reference? Cheers If anyone has the same issue - just call addCubeTextureTask on Assetsmanger
  5. Dimensions

    So I've managed to get some data by using the following code sphere.getBoundingInfo().boundingBox.maximumWorld This is on a Babylon sphere. The maximumWorld property is returning the x,y,z values but not sure what the units are at this point. Hopefully this will help any other noobs with the same issue. If anyone knows a better method please post it here
  6. Dimensions

    Hi All, How should I go about obtaining the size of mesh in pixels? Is this even possible ? I assume there is away to obtain measurements for the bounding box or something..? Cheers
  7. Two sided materials

    Hi, Is there anyway to allow double side materials or mesh? I have a plane with a texture on. At the moment when the camera dips under the plane the texture isn't showing. When the camera is on top, it's showing fine. Thanks
  8. Arc Rotate Camera Animation (Solved)

    Got it, Thanks !
  9. Arc Rotate Camera Animation (Solved)

    Thanks very much Deltakosh. Would I need three separate animation to handle the float change for each value ie : one for alpha another for beta and another for radius etc? And if so, would these automatically run at the same time, despite being 3 separate lines of code?
  10. I have a large model with various points of interest. I'd to use an arc rotate camera so that users can freely rotate around the model. The other part involves users clicking on a certain model area, which will then animate the camera to a pre determined position and distance from the selected point of interest. Can anyone give me a clue as to the best animation type to use float/vector 3 interpolarion etc and how I might go about this. There will be three values which need to be "tweened" ie - alpha, beta and radius. As always thanks in advance
  11. Picking Hidden Objects

    Great, thanks. I'll try it out !
  12. Picking Hidden Objects

    Is it possible to pick hidden objects in a scene? If so, how is this achieved? Thanks in advance
  13. Alpha Blending

    Ah apologies !
  14. Alpha Blending

    Hi Everyone I'm trying to build a material which has a gradient of transparency. At the moment it seems to be binary either on or off. Is there a way to enable blended alpha? At the moment, I'm passing a png file to the diffuse texture and using ...someMaterial.diffuseTexture.hasAlpha = true; Hope this makes sense.. Edit: Ok just found opacityTexture. Thanks if you read this anyway
  15. Animated texture quesion

    Thanks JohnK looking at this now