Jump to content

correctly display nif and dds x 2 with opengl


pvyarashevich

Recommended Posts

I had extracted data form *.nif file: vertex, triangles, textures. And successfully displayed it via vispy's opengl example (https://github.com/v...extured_cube.py).



Here texture applied with next code: "gl_FragColor = texture2D(texture, v_texcoord);".



But how to applied two texture files (*.dds and *_n.dds), and how to apply color background (vertex color) for texture (there is no alpha for some parts of items)? Does anyone have experience to display nif mesh with opengl?


Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...