Comments (11)
Indeed! It is a spec thing, not an actual issue of the exporter.
from gltf-blender-exporter.
No need to send, here is the solution:
- glTF 2.0 allows several texture coordinates and also the Blender exporter does export them:
For the metal roughness texture, I have plugged a UV map as input. This is "allowed":
https://github.com/KhronosGroup/glTF-Blender-Exporter/blob/master/docs/user.md
So, if your model has several texture coordinates, you can choose, which one has to be used.
But you need to take care, as at the moment, only two texture coordinate sets have to be supported by a glTF 2.0 viewer.
If this is a hobby project, your approach is okay. But if you want to be more productive, I strongly recommend a professional tool like Substance Painter to apply materials directly on a 3D object.
from gltf-blender-exporter.
@UX3D-nopper Thanks for the direction. I'll give this a try and take a look at Substance Painter.
Currently this is a hobby. Previously I baked all textures with export to GLTF 1.0 and didn't bother with PBR, so right now I'm just trying to tease out a workflow I can re-use.
from gltf-blender-exporter.
Related: KhronosGroup/glTF#1015 ... @feiss please also leave feedback there if you have suggestions on the proposal! 🙂
from gltf-blender-exporter.
You are right, this is not working by design. At the moment, it is not possible to pass a texture scale for glTF 2.0.
Also, it is not possible to create a custom node tree linking into the textures. As soon as all documentation is finished, it will be more obvious why.
Let me have a look at your scene - maybe it can be solved differently.
from gltf-blender-exporter.
@UX3D-nopper Sure thing, do you want me to send it to you?
from gltf-blender-exporter.
But please post your final rendering, as soon as you are finished!
from gltf-blender-exporter.
@UX3D-nopper Substance Painter is not the solution to this issue (how do you texture 2kms of grass with no tiling, no shaders and not using a massive texture?), and there can be different reasons some studio or hobbyist don't want or cannot use it.
I hit with this issue today. I made a tileable texture with substance painter, and I wanted it repeated many times along the floor, and after some tries I realized there was no support for texture mapping transformations. The solution was to scale up the UVs of the floor. And I will use another UVmap for the lightmap.
from gltf-blender-exporter.
Agree, and maybe this could be a new extension, where a texture matrix can be stored somewhere.
But as far as I understand, this is a problem with the current features of glTF 2.0, right?
Even we would apply the Mapping into the UV map in Blender, you would still need a separate one for the lightmap.
from gltf-blender-exporter.
Okay, got it. Let's define a spec for texture coordinates. I put it on the list, what the guys want to discuss at SIGGRAPH.
from gltf-blender-exporter.
Here we go:
KhronosGroup/glTF#1044
from gltf-blender-exporter.
Related Issues (20)
- wrong scale units HOT 6
- Emission node not working
- Glass? .. Can anyone explain how to do it?` HOT 15
- Animation not appearing right HOT 3
- Exported animation keys are off by one HOT 2
- NormalScale and Roughness texture not working in VR windows mixed reality home environment HOT 6
- Compressed texture are not exported HOT 2
- Use GLTF_COMPONENT_TYPE_UNSIGNED_SHORT for < 256 indices meshes
- Exporting from the command line HOT 2
- Image Data Block ID indexing HOT 4
- Material parameters not exporting with glTF2_Principled shader HOT 2
- BasicColorFactor Animation not exporting HOT 7
- Optional enabling/disabling of the lights exports HOT 2
- Export Extras option is not working. HOT 4
- UV Unwrap gets messed up HOT 1
- Blender 2.8 Beta GLTF and GLB export... is not working / broken HOT 1
- Bones "Inherit Rotation" property is ignored. HOT 2
- doesn't export material properly (pbrMetallicRoughness node is empty) from Blender 2.8 properly HOT 5
- Feature request: Export scene.extras HOT 1
- Exported GLTF is always black HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gltf-blender-exporter.