Thema

Members
  • Content Count

    17
  • Joined

  • Last visited

  1. I will give a try and let you know.
  2. In my scene I have 4 meshes, 3 of them have a PBR Material. I need to render the 4th with a gradient effect. When i use the gradient material the 4th mesh is not rendered with the same values of light as the other ones because the PBR Material is using the environment reflection texture and the gradient material is not. This is the playground: https://www.babylonjs-playground.com/#JE9VBX Thanks for your help!
  3. Hello, is it possible to create a PBR Gradient Material?
  4. Sorry my fault, I played a little more with offset and scale and i was able to do what I was looking for.
  5. Hello, I have a big texture and a little object. I would like to use only a part of the texture to render the mesh and eventually change the texture offset. I read the docs and did a lot of tests but all the times I apply a texture to a mesh the texture is resized to the mesh size. I cannot use the sprites because the portion of the texture that i want to use has different sizes. In is possible to apply a texture to a mesh keeping the original texture size?
  6. Your solution works great! Thanks a lot.
  7. Hello, I have and object that i cannot figure out how to remove the aliasing. I tried with FxaaPostProcess but the aliasing is still there. Example: https://www.babylonjs-playground.com/#2L35ZN#1 Any suggestions?
  8. Hello, I reopened the topic, the getBoundingInfo is not working when the rotation in degrees is not a divisor of 180. Example: 8 degrees is not a divisor of 180, 180 / 8 = 22.5 https://www.babylonjs-playground.com/#5HP8KU#3
  9. Hello, I cannot figure out how the get an updated Bounding Box after the rotation, position or scaling of a mesh. Here the playground: https://www.babylonjs-playground.com/#5HP8KU#1 Thanks in advance for the help
  10. Thank you, is working great now.
  11. I did a playground with the opacityTexture that i cannot make it work correctly: https://www.babylonjs-playground.com/#4R46SR Could you please give a look to it?
  12. Do you have any examples or documentation about the pbr.opacityTexture?
  13. Does the PBR material have an Alpha Map Texture?