![]() |
Standard Texture setup
How do you apply a standard texture setup (diffuse, normal, specular) to a model in vizard? I know GLSL so I could write a shader (although the vizard documentation is unclear on a lot of things, e.g. how is the uv attribute/varying called? Or is it using the old gl_TexCoord?)
but I'm sure this is already integrated. Can I get a code example? I played around with vizfx.addMaterialEffect (which also isn't documented) but vizard would normally just use the diffuse texture and ignore the rest. Thanks in advance. |
I'll check with a developer and get back to you.
|
1 Attachment(s)
I think I got this to work:
Code:
import viz I would still like to know if this is the intended way to do it ;) |
All times are GMT -7. The time now is 11:11 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC