neal8929 Posted September 26, 2007 Share Posted September 26, 2007 Hello hopefully whoever reading this is a shader pro, or someone who can help me. textures/mymirror/mirror_mine { qer_editorimage textures/tests/qer_mirror.tga surfaceparm forcefield portal q3map_nolightmap { map textures/tests/qer_mirror2b blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA depthWrite } { } { map textures/kejim/env_newfloor_kej blendFunc GL_ONE GL_ONE rgbGen const ( 0.60000 0.60000 0.60000 ) tcGen environment } } That is a shader for a mirror, it works fine. What should I change to make the mirror a little bit lighter, its kinda dark. Link to comment Share on other sites More sharing options...
ensiform Posted September 27, 2007 Share Posted September 27, 2007 Why are you setting surfaceparm forcefield, thats a no-no. Link to comment Share on other sites More sharing options...
neal8929 Posted September 27, 2007 Author Share Posted September 27, 2007 cause I dont know anything about shaders, what is surfaceparm forcefield? Link to comment Share on other sites More sharing options...
neal8929 Posted September 27, 2007 Author Share Posted September 27, 2007 Actually could you give me some links to some good shader tutorials. I want to learn about them. Link to comment Share on other sites More sharing options...
Thor the Bassis Posted September 27, 2007 Share Posted September 27, 2007 Here's a tutorial. Also you need to take into account that many shader editors are severly limited by the assets they can easily access. Link to comment Share on other sites More sharing options...
neal8929 Posted September 27, 2007 Author Share Posted September 27, 2007 I thought you edit shaders in notepad...and are there any tutorials that pertain only to jk games? Link to comment Share on other sites More sharing options...
Thor the Bassis Posted September 29, 2007 Share Posted September 29, 2007 That tutorial is as good as you'll get I think. You can edit shaders in notepad but it's slow and you can only use commands you know whereas with a specially written program the commands are all infront of you as check boxes. Also you can find a set of tools with ShaderEd2 in it here. ShaderEd2 is the best shader editor for JA as it has least bugs and you just tick boxes as to what things you want the shader to do. Also you can preview your shader in ShaderEd2, whereas in Q3ASE there are so many bugs you can't really preview the shaders. As for tutorials the tutorial I sent you to was for Quake 3 which uses a game engine that is almost the same as the JA one (JA engine is based on Q3 engine) and shaders for both are exactly the same. Link to comment Share on other sites More sharing options...
neal8929 Posted September 29, 2007 Author Share Posted September 29, 2007 ok thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.