Exa

Members
  • Content count

    13
  • Joined

  • Last visited

  1. Debug layer not working

    Oh I did not notice than the documentation was for the preview, sorry about that, it works now, thank you
  2. I try to use scene.debugLayer.show(); after add <script src=https://preview.babylonjs.com/inspector/babylon.inspector.bundle.js></script> I have then this error : babylon.inspector.bundle.js:410 Uncaught TypeError: BABYLON.SceneInstrumentation is not a constructor at new n (babylon.inspector.bundle.js:410) at new n (babylon.inspector.bundle.js:410) at t._buildInspector (babylon.inspector.bundle.js:408) at new t (babylon.inspector.bundle.js:408) at DebugLayer._createInspector (babylon.js:61485) at DebugLayer.show (babylon.js:61513) at toggleDebugLayer (index.html:782) at HTMLButtonElement.<anonymous> (index.html:821) Any ideas? (by the way in the documentation, there is a ` at the end of the url <script src=https://preview.babylonjs.com/inspector/babylon.inspector.bundle.js></script> (here : https://doc.babylonjs.com/how_to/debug_layer)
  3. The purpose is to see the others spheres in the reflection of the wood mesh, it doesn't do that in your example
  4. I think it's because each frame, the probe reflection render first, but at this time all the scene is black, and then the other reflections with hdrtexture reflections are rendered. it's something like this?
  5. In this exemple : http://www.babylonjs-playground.com/#IAZTI#26 I put a probe reflection into the ReflectionTexture of the PBRMaterial of the wood object. I can see the probe reflection in the wood but i dont understand why my albedo is now black, any advices?
  6. Found it, convert png from 8bit to 16bit worked
  7. It seems to be more complicated than that, i find the same problem in a lot of other webgl app on iOS, hope we can find a work around via babylon.js
  8. Sure about the function name?
  9. Hi everyone, I have an issue with texture compression on iOS device : here is the problem : on my PC : on my iPad : the material : { "customType" : "BABYLON.PBRMaterial", "directIntensity" : 1, "emissiveIntensity" : 1, "environmentIntensity" : 0.9, "specularIntensity" : 1, "cameraExposure" : 1, "cameraContrast" : 2, "microSurface" : 0.5, "overloadedShadowIntensity" : 1, "overloadedShadeIntensity" : 1, "overloadedAmbientIntensity" : 0, "overloadedAlbedoIntensity" : 0, "overloadedReflectivityIntensity" : 0, "overloadedEmissiveIntensity" : 0, "overloadedAmbient" : [ 0, 0, 0 ], "overloadedAlbedo" : [ 0, 0, 0 ], "overloadedReflectivity" : [ 0, 0, 0 ], "overloadedEmissive" : [ 0, 0, 0 ], "overloadedReflection" : [ 0, 0, 0 ], "overloadedMicroSurface" : 0, "overloadedMicroSurfaceIntensity" : 0, "overloadedReflectionIntensity" : 0, "albedoTexture" : null, "ambientTexture" : null, "opacityTexture" : null, "reflectionTexture" : null, "emissiveTexture" : null, "reflectivityTexture" : null, "bumpTexture" : null, "lightmapTexture" : { "name" : "CleanedUp_BedroomLightmap-3_comp_light.png", "level" : 1, "hasAlpha" : false, "getAlphaFromRGB" : false, "coordinatesMode" : 0, "isCube" : false, "uOffset" : 0, "vOffset" : 0, "uScale" : 1.002394, "vScale" : 1.002394, "uAng" : 0, "vAng" : 0, "wAng" : 0, "wrapU" : 1, "wrapV" : 1, "coordinatesIndex" : 1, "isRenderTarget" : false, "renderTargetSize" : 0, "mirrorPlane" : null, "renderList" : null, "animations" : null, "extensions" : null }, "useLightmapAsShadowmap" : true, "refractionTexture" : null, "ambient" : [ 1, 1, 1 ], "albedo" : [ 1, 1, 1, 1 ], "reflectivity" : [ 0, 0, 0 ], "reflection" : [ 0, 0, 0 ], "emissive" : [ 0, 0, 0, 1 ], "roughness" : 1, "useRoughnessFromMetallicTextureAlpha" : false, "useRoughnessFromMetallicTextureGreen" : false, "useAlphaFromAlbedoTexture" : false, "useEmissiveAsIllumination" : true, "useMicroSurfaceFromReflectivityMapAlpha" : false, "useSpecularOverAlpha" : true, "useRadianceOverAlpha" : true, "indexOfRefraction" : 0, "invertRefractionY" : false, "emissiveFresnelParameters" : null, "opacityFresnelParameters" : null, "disableLighting" : false, "name" : "MUR", "id" : "39e75ac7-f7b5-4d06-98a0-50fb26b52378", "backFaceCulling" : true, "wireframe" : false, "alpha" : 1, "alphaMode" : 2 } the lightmap texture : I tried to compress with pvr format, to merge lightmaps with a white layer and use it as png, or jpg, and in albedo channel but nothing worked, any advices?
  10. Import Lightmaps from Unity

    @MackeyK24 is there a way to have access to the last version of the Unity exporter or you still keep it private for now?
  11. Import Lightmaps from Unity

    wow nice work, so we have to wait the new version if i get it right
  12. Import Lightmaps from Unity

    It looks like you succeed to get proper shadows with lightmap, did you use only exporter?
  13. Hello everyone I am trying to use Unity Lightmaps with babylon via the Babylon Unity exporter I use Unity v5.6.3p2 and the BabylonJS Toolkit v 1.0 with Babylon 2.5 For now it's a nightmare, i've tried a lot of combinations with different shader/configuration and nothing works I do my test with a simple fbx and 2 materials/textures, someone have some informations about that? Any help appreciated