#include <r_sphere.h>
Data Fields | |
GLint | list |
float * | texes |
float * | verts |
float * | normals |
image_t * | texture |
image_t * | blendTexture |
image_t * | overlay |
image_t * | overlayAlphaMask |
image_t * | normalMap |
int | num_tris |
r_program_t * | glslProgram |
float | blendScale |
float | glowScale |
vec4_t | nightLightPos |
int | season |
Definition at line 25 of file r_sphere.h.
float sphere_s::blendScale |
Definition at line 39 of file r_sphere.h.
Referenced by R_Draw3DGlobe(), and R_SphereShadeGLSL().
the texture for the next season (for blending)
Definition at line 31 of file r_sphere.h.
Referenced by R_Draw3DGlobe(), and R_SphereShadeGLSL().
float sphere_s::glowScale |
Definition at line 40 of file r_sphere.h.
Referenced by R_Draw3DGlobe(), and R_SphereShadeGLSL().
Definition at line 38 of file r_sphere.h.
Referenced by R_Draw3DGlobe(), R_SphereCheckGLSL(), R_SphereGenerate(), and R_SphereShadeGLSL().
GLint sphere_s::list |
the opengl list id
Definition at line 26 of file r_sphere.h.
Definition at line 41 of file r_sphere.h.
Referenced by R_Draw3DGlobe(), and R_SphereShadeGLSL().
bump map
Definition at line 34 of file r_sphere.h.
Referenced by R_Draw3DGlobe(), and R_SphereShadeGLSL().
float* sphere_s::normals |
vertex normal array
Definition at line 29 of file r_sphere.h.
Referenced by R_SphereGenerate(), R_SphereShade(), and R_SphereShadeGLSL().
number of tris
Definition at line 35 of file r_sphere.h.
Referenced by R_SphereGenerate(), R_SphereRender(), and R_SphereRenderTris().
the overlay for the world (e.g. nation borders)
Definition at line 32 of file r_sphere.h.
Referenced by R_Draw3DGlobe(), R_SphereRender(), and R_SphereShade().
in case of multitexture this is the alpha mask
Definition at line 33 of file r_sphere.h.
Referenced by R_Draw3DGlobe(), and R_SphereShade().
int sphere_s::season |
Definition at line 42 of file r_sphere.h.
Referenced by R_Draw3DGlobe().
float* sphere_s::texes |
globe tex coords, points in 2D on the texture to be mapped onto the sphere
Definition at line 27 of file r_sphere.h.
Referenced by R_SphereGenerate(), R_SphereShade(), and R_SphereShadeGLSL().
the texture for this globe -
Definition at line 30 of file r_sphere.h.
Referenced by R_Draw3DGlobe(), R_SphereShade(), and R_SphereShadeGLSL().
float* sphere_s::verts |
globe vertices, points in 3D on the surface of the sphere
Definition at line 28 of file r_sphere.h.
Referenced by R_SphereGenerate(), R_SphereShade(), and R_SphereShadeGLSL().