Author Topic: How to texture 3ds models using shaders?  (Read 2104 times)

0 Members and 1 Guest are viewing this topic.

colac

  • Associate
  • Posts: 8
How to texture 3ds models using shaders?
« on: October 30, 2006, 10:58:38 AM »
Hello,
In 3D mesh, I can use =>
<mesh name ...   
<attach_material name="mesh_plane_mat" />
<texture material_name="mesh_plane_mat"
                 texture_name="rockwall_normal_tex"
</mesh>

but when I use 3ds models, like =>
<model name="blocks" filename="02_models/blocks/blocs_map.3ds"
  texturing="TRUE" lighting="TRUE" />

How to attach texture for shader use like mesh?
Because I don't find code samples that solve my problem...
Thanks...

colac

JeGX

  • Global Moderator
  • Capo Crimine
  • *****
  • Posts: 2357
    • oZone3D.Net
How to texture 3ds models using shaders?
« Reply #1 on: October 30, 2006, 06:26:16 PM »
I think the code sample 86 should help you: CS86