View Single Post
  #1  
Old 02-04-2016, 06:52 AM
rawphl rawphl is offline
Member
 
Join Date: Feb 2016
Posts: 2
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.
Reply With Quote