Jump to content
  • Advertisement
Sign in to follow this  
Papaoso

Multi UV in WebGl

This topic is 1050 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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. Edited by HappyCoder

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites


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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!