Home
last modified time | relevance | path

Searched refs:TM_SPEC_GLOSS_TYPE (Results 1 – 6 of 6) sorted by relevance

/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/
H A Duniforms.cpp162 if (material.get_texture_map(TM_SPEC_GLOSS_TYPE) > 0) { in convert_model_material()
163 data_out->sSpecmapIndex = bm_get_array_index(material.get_texture_map(TM_SPEC_GLOSS_TYPE)); in convert_model_material()
180 if (material.get_texture_map(TM_SPEC_GLOSS_TYPE) > 0 || Gloss_override_set) { in convert_model_material()
H A Dmaterial.cpp219 Texture_maps[TM_SPEC_GLOSS_TYPE] = -1; in material()
726 …if ( (get_texture_map(TM_SPECULAR_TYPE) > 0 || get_texture_map(TM_SPEC_GLOSS_TYPE) > 0) && !Specma… in get_shader_flags()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/model/
H A Dmodelrender.cpp760 …>render_material.get_texture_map(TM_SPEC_GLOSS_TYPE) != draw_call_b->render_material.get_texture_m… in sort_draw_pair()
761 …->render_material.get_texture_map(TM_SPEC_GLOSS_TYPE) < draw_call_b->render_material.get_texture_m… in sort_draw_pair()
1042 texture_maps[TM_SPEC_GLOSS_TYPE] = -1; in model_render_buffers()
1098 …if ( replacement_textures != NULL && replacement_textures[rt_begin_index + TM_SPEC_GLOSS_TYPE] >= … in model_render_buffers()
1099 …tex_replace[TM_SPEC_GLOSS_TYPE] = texture_info(replacement_textures[rt_begin_index + TM_SPEC_GLOSS… in model_render_buffers()
1100 …texture_maps[TM_SPEC_GLOSS_TYPE] = model_interp_get_texture(&tex_replace[TM_SPEC_GLOSS_TYPE], base… in model_render_buffers()
1102 …texture_maps[TM_SPEC_GLOSS_TYPE] = model_interp_get_texture(&tmap->textures[TM_SPEC_GLOSS_TYPE], b… in model_render_buffers()
1137 if (debug_flags & MR_DEBUG_NO_REFLECT) texture_maps[TM_SPEC_GLOSS_TYPE] = -1; in model_render_buffers()
1211 rendering_material->set_texture_map(TM_SPEC_GLOSS_TYPE, texture_maps[TM_SPEC_GLOSS_TYPE]); in model_render_buffers()
H A Dmodel.h639 #define TM_SPEC_GLOSS_TYPE 6 // optional reflectance map (specular and gloss) macro
H A Dmodelread.cpp2707 texture_info *tspecgloss = &tmap->textures[TM_SPEC_GLOSS_TYPE]; in model_load_texture()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/opengl/
H A Dgropengltnl.cpp858 if ( material_info->get_texture_map(TM_SPEC_GLOSS_TYPE) > 0 ) { in opengl_tnl_set_model_material()
859 …gr_opengl_tcache_set(material_info->get_texture_map(TM_SPEC_GLOSS_TYPE), TCACHE_TYPE_NORMAL, &u_sc… in opengl_tnl_set_model_material()