Search the Community

Showing results for tags 'environmenttexture'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 3 results

  1. Hello everyone, Trying to change scene environment textures smoothly with some kind of 'fade-in-out' effect rather than a hard toggle. Please consider this PG: https://playground.babylonjs.com/#26LZLL When the buttons are clicked, the environment texture is toggled between two .env maps. Is it possible to make the toggle more smooth, so it is more like a 'transition' than a 'snap'? Even a simple overlay of the two maps is ok. Hope someone can point me to the right direction. Thanks a lot! PS: Those handy test spheres in the PG are kindly provided by @PatrickRyan
  2. Hi guys... I ran into a problem recently when trying to serialize environmentTexture. It just crashes the scene and most times does not give any error message. I tried to take a look a the engine codebase but cant seem to find any STATIC SCENE PARSE that I would assume has some "parsedScene" javascript object but it does not. Does anyone know WHY I cant serialize environmentTexture or WHERE I would go add that support to the engine. Note: When using the toolkit to export scenes that have an environmentTexture it would be MUCH BETTER to be able to serialize that texture in the babylon json just like any other property. Otherwise, you will ALWAYS have to DEPEND on the Babylon Toolkit's Scene Manager API to render your main environment texture. For those that are planning to use PURE EXPORT ONLY features will be out of luck. So I am hoping to get this resolved by the next release. Any info is ALWAYS appreciated. UPDATED : I updaed 3.2 to fix the problem and also added BABYLON.HDRCubeTexture as a type of scene.environmentTexture that can be serialized into the scene file.
  3. Hello, I have problems casting shadows on objects that have PBR material and environmentTexture. I don't know how to dim the light emitted by the environmentTexture, or even better, make the intensity of the reflection related to the lights of the scene. Since shadows are the areas on the objects where there is no light, and the reflection of the environment texture is not affected by the lights, I can't get shadows on the object. Please, check the following example. http://www.babylonjs-playground.com/#BCHEUP There is a barely visible shadow on the PBR ball, from the torus. My questions are: 1) How can I make the ball dim/brighten according to the lights of the scene to some extend. 2) How can I change the intensity of the light of the environment texture, so that I can change the "intensity" of the reflected light of the ball, regardless of the surrounding lights? So that I can control how much the lights of the scene affect the brightness of the object. Thanks in advance!