ItsMods

Full Version: Making your own custom shaders
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Don't forget to thank, +rep Nukem for explaining me everything to me multiple timesTongue

[Image: i502791l72.jpg]

1 - Make a one layered image(Use flatten image), save as .tga

[Image: q224692w72.jpg]

2 - Open Asset Manager find material, click it, then make a new entry.

[Image: m349443u72.jpg]

3 - Put your <yourcustomshader>.tga file into <root>/texture_assets/mods.

[Image: v408544r72.jpg]

4 - Choose the settings in the image and click pc convert. Save the .gdt in <root>/texture_assets.

[Image: m14291extra2x72.jpg]

5 - Add material,<yourcustomshader> to the zone source.

[Image: d547696g72.jpg]

[Image: q286057q72.jpg]

6 - Open raw/images and copy <yourcustomshader>.iwi to <root>/mods/mp_<myamazingmod>/images.

[Image: k371598t72.jpg]

7 - Check your <yourcustomshader>.iwi, link fastfile, build IWD and then click build mod.

[Image: w248029v72.jpg]

8 - Add " precacheShader("<yourcustomshader>"); " line to init(); (57th line in the ss)

[Image: l23468extra1d72.jpg]

9 - Here is your custom shader Big Grin
I don't see it. nvm now I do.
photos are down
(07-01-2011, 00:13)jariz Wrote: [ -> ]photos are down

Really? Some other people and I can see them.
For me they are down too.
Check the photos again. I uploaded them to another site.
(07-01-2011, 00:38)Lemon Wrote: [ -> ]Check the photos again. I uploaded them to another site.

Works now.
zomg zomg zomg cool, but do I have to use Photoshop? can I use paint.net? I know paint.net failed before mod tools.
Photoshop is shit-long-6-hours-download with their program to download photoshit.
(07-01-2011, 08:10)4FunPlayin Wrote: [ -> ]zomg zomg zomg cool, but do I have to use Photoshop? can I use paint.net? I know paint.net failed before mod tools.
Photoshop is shit-long-6-hours-download with their program to download photoshit.

You can probably find other programs to make a .tga file. Google jpeg to tga?
can i put customshader2 into line 52 insted of rank_prestige14? i mean ( game["icons"] ["axis"] = "customshader2"; ) would that work?
Pages: 1 2 3