giuseppe500
07-23-2010, 11:02 AM
Hy.
I would create a 3d rappresentation in an enginiering c++ project.
I use opengl and the meshes should be illuminated not with a complete light system(is not a game) , but i think with a simplified system , in that the mesh is alwais completely illuminated, and appears in 3d.
I think to use a point light placed in the camera position , that is a parameter that change every frame, instead the lightcolor and the materials change at the initialization of the shader , can be a solution?
thanks.
I would create a 3d rappresentation in an enginiering c++ project.
I use opengl and the meshes should be illuminated not with a complete light system(is not a game) , but i think with a simplified system , in that the mesh is alwais completely illuminated, and appears in 3d.
I think to use a point light placed in the camera position , that is a parameter that change every frame, instead the lightcolor and the materials change at the initialization of the shader , can be a solution?
thanks.