Jesterspaz Posted May 31, 2002 Share Posted May 31, 2002 i am trying to get some custom textures to work. i have the pk3, and the shader stuff, but what is the default shader script for just a plain ol' /jpg texture. i am getting the holodeck grid when i load the map... therapy anyone? Link to comment Share on other sites More sharing options...
Cmdr. Antilles Posted May 31, 2002 Share Posted May 31, 2002 If your custom textures are not showing up, make sure you do the sv_pure 0, (yeah, I know you know that already), make sure their dimensions are powers of 2. (512x512, 256x512, etc) Also, make sure you're saving them as 'baseline standard' if you're using Photoshop or something along those lines. I'd go back and double check to make sure that all the dimensions are powers of 2. You never know... Link to comment Share on other sites More sharing options...
Xcom Posted May 31, 2002 Share Posted May 31, 2002 The default shader script textures/folder/texture { { map $lightmap rgbGen identity } { map textures/folder/texture.tga blendFunc GL_DST_COLOR GL_ZERO } } Link to comment Share on other sites More sharing options...
Machine_IX Posted May 31, 2002 Share Posted May 31, 2002 What do you mean by 'default'? Do you mean you should give this to every texture in your map? Also, if your textures are in a PK3 you STILL have touse sv_pure 0? Link to comment Share on other sites More sharing options...
Xcom Posted May 31, 2002 Share Posted May 31, 2002 Originally posted by Machine_IX What do you mean by 'default'? Do you mean you should give this to every texture in your map? No I don't. What I mean is if you don't create a shader for your texture, this one is applied. Link to comment Share on other sites More sharing options...
RichDiesal Posted May 31, 2002 Share Posted May 31, 2002 That...was completely unnecessary information, Xcom. Textures don't need anything by default. Just make a base/textures/yourmapname/ folder (you will likely need to create the textures folder too). That should be it, though. Try running the map in SP if it's a MP map. If you see the textures there and not in MP, that further defines your problem. And no, you shouldn't need to use sv_pure if the map is in a pk3. Link to comment Share on other sites More sharing options...
Xcom Posted May 31, 2002 Share Posted May 31, 2002 Originally posted by RichDiesal Textures don't need anything by default. Bah. He asked for it and he got it. And I didn't say he had to make it. Link to comment Share on other sites More sharing options...
fabrikashon Posted May 31, 2002 Share Posted May 31, 2002 No image that a shader is referring to should have any kind of extension. Remove the .jpg at the end of the image path and leave it blank. It will try to find a .tga first and then resort to .jpg. Link to comment Share on other sites More sharing options...
Jesterspaz Posted May 31, 2002 Author Share Posted May 31, 2002 the images are powers of 2. still getting tron grid =) damnit Jester Link to comment Share on other sites More sharing options...
RichDiesal Posted June 1, 2002 Share Posted June 1, 2002 In both SP and MP testing? Are you sure you don't have textures outside the pk3 too? Link to comment Share on other sites More sharing options...
Jesterspaz Posted June 1, 2002 Author Share Posted June 1, 2002 every texture i want to use is custom. the only texture that isnt custom is the bespin skybox Link to comment Share on other sites More sharing options...
RichDiesal Posted June 1, 2002 Share Posted June 1, 2002 That's not what I asked. Are you testing this in its own PK3? If so, are you positive the textures are in that PK3? Go back and double check that all the textures you used are in the PK3 in their appropriate folder.(textures/whatever/) And secondly, if you go into SP mode and type "devmap yourmap" do you see the textures then? Link to comment Share on other sites More sharing options...
fabrikashon Posted June 1, 2002 Share Posted June 1, 2002 Make sure the .jpg's aren't progressive, they have to be baseline(standard) in order to work. Link to comment Share on other sites More sharing options...
Jesterspaz Posted June 1, 2002 Author Share Posted June 1, 2002 i dont know what you mean by baseline standard, and what do you mean by outside the pk3, i have a pk3 with the correct structure, and the actual folder with the textures inside, is this wrong or what Link to comment Share on other sites More sharing options...
fabrikashon Posted June 1, 2002 Share Posted June 1, 2002 Did you make the custom textures? When saving them in photoshop as a .jpg you have to chose Baseline (Standard). Progressive is default and it doesn't work with JKii Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.