Skip to content
#

webgl

Here are 4,573 public repositories matching this topic...

Babylon.js
Drigax
Drigax commented Sep 15, 2020

See forum post: https://forum.babylonjs.com/t/babylon-editor-export-texture-scaling/12723/26

Reproducible via playground: https://playground.babylonjs.com/#DHZKGW#7

Currently when we export specularGlossiness PBRMaterials via _GLTFMaterialExporter._convertSpecularGlossinessTexturesToMetallicRoughnessAsync

We combine albedo + glossiness textures into Base64 texture string, stripping all

BStringhamVRSK
BStringhamVRSK commented Aug 12, 2021

Problem:
After using Engine.createTextureFromKtx/jpeg/Png, I need to query the texture width and height so I can generate proper UV coordinates for font display.

Proposed solution
Expose the Texture.getWidth(), getHeight(), etc. methods to get texture information. I currently only need width and height, but I can see usage cases for many of the other "getters" available in the C++ in

enhancement good first issue web
emmanuelle
emmanuelle commented Nov 28, 2019

Most items coming from questions on the community forum

documentation good first issue

Improve this page

Add a description, image, and links to the webgl topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the webgl topic, visit your repo's landing page and select "manage topics."

Learn more