Costom Shader -1 reply

Please wait...

DualsMaster

I am the Master of Duals

50 XP

27th April 2004

0 Uploads

49 Posts

0 Threads

#1 14 years ago

Im new to map making and want to import costom images i made. As i understand they must be shaders. I have my .shader file like this. Is this the correct form? Not sure what kind the image has to be .bmp .gif or ??? What's wrong with this and how do i add more images? textures/newmap/kungfu { qer_editorimage textures/newmap/kungfu.bmp { map newmap } { map textures/newmap/kungfu.bmp blendFunc GL_DST_COLOR GL_ZERO } { map textures/hgc/kungfu.bmp blendFunc GL_ONE GL_ONE } Thanks. :bows:




N3G1@

Dead

50 XP

13th March 2003

0 Uploads

1,242 Posts

0 Threads

#2 14 years ago

I've never tried using bmp as textures, but in any case that's quite a stupid thing, since BMP files are much much bigger than JPG files or TGA files, flle fomrats that surely work. I'm sure that if you convert from BMP to JPG-TGA, your textures will work perfectly! :) (remember to correct the name of the file in shader file too)