Jump to content

Skyrim, How to apply 2 textures to mesh ? (nif + dds^2)*opengl = love, ?


Recommended Posts

I had extracted data form *.nif file: vertex, triangles, textures. And successfully displayed it via vispy's opengl example (https://github.com/vispy/vispy/blob/master/examples/tutorial/gloo/textured_cube.py).

 

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

 

But how to applied two texture files, and how to apply color background (vertex color) for texture? Does anyone have experience to display nif mesh with opengl?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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