r3dwolf

Members
  • Content count

    9
  • Joined

  • Last visited

  1. Alpha channel Flag

    Hello, Is there a way to know if a loaded texture has the alpha channel? There is hasAlpha property in baseTexture but is always false.
  2. Load Compressed texture .dds .pvr

    Thanks @JCPalmer, I've already used those very useful scripts. At this time I will do so
  3. Unity Material conversion

    Hello @ MackeyK24, ok for roughness value, but I think it's also necessary to invert (1-value) the alpha channel of the metallic gloss map (unity takes the values of that channel as smoothness), or I'm wrong? Could you add a property to the PBR material to also support smoothness in the alpha channel? then in the shader, if useSmoothnessFromMetallicTextureAlpha, reverse the value of the channel.
  4. Load Compressed texture .dds .pvr

    Hello @JCPalmer I use pvr container for pvr file. PVR in ktx container works also for me, but I have a lot of PVR file (with PVR container) and I would like to find a way to use those instead of convert all texture files. The curious thing is that, in ios version 10, my pvr textures files were properly seen. Thanks for the fix for typo @Deltakosh
  5. Hello, I need to load .dds and .pvr texture (not in ktx container). I succesfully load a dds (DXT1) RGB texture. For DXT5 RGBA i think there is a bug in babylon.dds.ts line 140 isCompressed: (fourCC === FOURCC_DXT1 || fourCC === FOURCC_DXT3 || FOURCC_DXT1 === FOURCC_DXT5), instead of isCompressed: (fourCC === FOURCC_DXT1 || fourCC === FOURCC_DXT3 || fourCC === FOURCC_DXT5), I changed that line and now i can load also DXT5. For PVR file I could load them correctly on iOS up to version 10.3 , with the latest version 11 no longer works. Has anyone already solved the problem?
  6. Unity Material conversion

    Hello @Deltakosh, I'm trying to use metallic textures used in unity and related parameter glossmapscale. I dig into unity to babylon exporter code and I did not find where float glossmapscale parameter is used. Did I miss something?
  7. Hello, I need to convert materials used in unity into babylonjs materials. I'm having trouble with the part of metallic textures and the smoothness parameter (GlossMapScale). This parameter in the exporter is not considered. Has anyone already addressed and solved this problem?
  8. Hello, Is there a way to use somehow etc2 on unsupported devices?