SD_Radical_Ed Posted December 10, 2003 Share Posted December 10, 2003 anyone know how i can get a reflective floor like this? Link to comment Share on other sites More sharing options...
tFighterPilot Posted December 10, 2003 Share Posted December 10, 2003 I never understood why LucasFiles uses this map for all of the vehicles. Link to comment Share on other sites More sharing options...
SD_Radical_Ed Posted December 10, 2003 Author Share Posted December 10, 2003 what level is it? how did they do it? Link to comment Share on other sites More sharing options...
Shotokan Posted December 12, 2003 Share Posted December 12, 2003 Try ask in the mapping forums. They can answer your question. I'd love to help but I forget how to do it... Link to comment Share on other sites More sharing options...
unravled Posted December 13, 2003 Share Posted December 13, 2003 that looks alot like the floor from duel_bay from JK2. the shader code looks like this: edit as needed textures/tests/mirror_floor { qer_editorimage textures/tests/qer_mirror.tga surfaceparm forcefield portal q3map_nolightmap { map textures/tests/qer_mirror blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA depthWrite } { map textures/tests/floor02_alpha blendFunc GL_DST_COLOR GL_SRC_COLOR } } textures/tests/qer_mirror is a flat black image textures/tests/floor02_alpha gives the floor some texture and take into consideration the following from the shader manual: Making a Mirror … Apply a mirror texture to brush (it will only work on brushes, not curve patches). Next, place a misc_portal_surface entity within 64 units of the mirror and at roughly eye level for the character. Because a mirror shows all that it can "see" the mapmaker needs to take special care that his mirror doesn't see so much of the map that it affects game performance. Rules: A mirror should not be able to see another mirror or portal surface. This means no mirror mazes or mirror facing each other to produce infinite reflections. Link to comment Share on other sites More sharing options...
ZH@o YuN Posted December 13, 2003 Share Posted December 13, 2003 I take it you can't use a mirror texture for moving objects? Link to comment Share on other sites More sharing options...
unravled Posted December 13, 2003 Share Posted December 13, 2003 depends...as long as it doesnt conflict with the blurb from the manual it should work. but i wouldnt try it cause the game would constantly be trying to draw the reflection as the object moved, that is if it worked. so youre fps woud be really low. use a shader with tcGen environment instead. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.