Advertisement

Multi UV in WebGl

Started by January 27, 2016 04:24 PM
3 comments, last by Papaoso 8 years, 11 months ago

glad this is my first post ,

I have a big problem to please someone can enlighten me and guide my way.

you can load a 3D object obj either fbx dae etc that can unite various uv to load WebGL and through code can change each uv?

excuse my little English

WebGL has no connection to any file format. So you have complete freedom on what data you load and how you display it. Multiple UV is pretty straight forward with WebGL. You simply bind another attribute to your shader but you will need to load a file that supports multiple UVs when storing the mesh. Obj does not support multiple UVs. DAE is a good format. It is widely supported, easy to parse, and supports multiple UVs.
My current game project Platform RPG
Advertisement
HappyCoder
Thanks for the prompt response and very concrete . further what you mean to tie another tribute to his shader consultation. Moreover others support multiple formats uv?


what you mean to tie another tribute to his shader consultation

I think something was lost in translation.

You bind values to shaders. Some are bound automatically, like position and colors, others you can bind yourself. You can bind multiple UV coordinates to a shader.

DEA format supports models with multiple UV coordinates.

hola frob
Have a simple example you can give me ? to better understand how grateful you

This topic is closed to new replies.

Advertisement