THE GAME CUSTOMIZATION NETWORK: FPSB | RTSB | RPGB | Article Writers Wanted! | SUBSCRIBE
 
 
You do not have permission to access this, sorry
You do not have permission to access this, sorry
You do not have permission to access this, sorry
You do not have permission to access this, sorry
You do not have permission to access this, sorry
You do not have permission to access this, sorry
You do not have permission to access this, sorry



Distance Fading Sprays
Added by...
Key Authors
Reag - Created method
Valve - lolsource
IF YOU CONVERT THIS TUT INTO A VIDEO ON YOUTUBE, PLEASE FOR THE LOVE OF GOD CREDIT ME FOR IT YOU MUFFINS.


Mipmap Edited Spray Effect

Tools needed:
    Photoshop
    Nvidia Photoshop Plugin
    DirectxSDK
    VTFedit
    Quick & Dirty Bloodlines Tools v3.9a


Alternative tools:
    GIMP
    DDS Plugin


Abilities needed:
    How to create alpha masked TGA's,
    How to import and export VTF files in VTFedit,
    The really basic stufffffff.

Steps:

1.
To start making this effect for your sprays you need two images, one which will be your far image and another for your close up.

2.
Take your far image into photoshop and proceed to edit it like you would with a png, removing the background onto transparency and that type of thing, once this is done save your far image as a DDS, this is where the Nvidia plugin comes into play as it allows you to save images in the DDS format.

Remember, your images MUST be a power of 2, eg. 256x256 or 512x512.

3.
When saving in the DDS format make sure you have the drop down menu selected to DXT5 and not DXT5_NM, once you have it on the right format save your DDS to somewhere you will remember.

4.
Open your close up image, here you will need to process your image like you would with a TGA, for transparency you will be required to create a alpha mask.
Once this is done and you are happy with the image save it as a 32 bit TGA.

Remember, your images MUST be a power of 2, eg. 256x256 or 512x512.

5.
Open up your DDS in the DirectX Texture Editor, this will be found in where you installed the SDK under DirectX Utilities.
Once in the editor go to the LARGEST mipmap, once on the largest mipmap you then need to import your close up TGA image.
To do this go to File > Open onto this surface...
Navigate to your TGA and import it, now you will find when you cycle through the mipmaps the largest one will be different to the others, this is what creates the fade effect.
Save your edited DDS.

6.
Open up Quick & Dirty Bloodlines Tools v3.9a (DDS to VTF (IMPORTANT SHIT BRO).exe) and open the texture tools tab, here you will find a fair few options being displayed, ignore them.
Open your DDS with Quick & Dirty, once the file has been opened by the program check any of the boxes you want (even though it's better not too).
Finally press Convert DDS to VTF.

7.
You will now find a VTF saved next to where your DDS is, load up VTFedit and open the VTF.
Cycle through the mipmaps to make sure the conversion was successful, if not start from step 5 again.
If it was successful, in VTFedit go to Options and make sure Auto Create VMT File is checked, if it is not, check it.
Finally go to File > Save as and navigate to your steamapps\username\team fortress 2\tf\materials\VGUI\logos folder, this is typically found where you installed steam.

8.
Go in-game and select your new spray.

9.
Spray it on a wall and stare in amazement as you walk around it

Known Issues:

Spray does not fade
    This is sometimes down to your graphics settings being too low or you ignored step 6.

Spray does not display correct to everyone
    This is sometimes down to their graphics settings being too low or you ignored step 6.
    Or sometimes it is down to the server not uploading the spray correctly to the client, this is sometimes solved by rejoining.


Alternatives:

It is possible to do this with paint.net as I have heard, but I am not 100% sure how reliable the DDS plugin for it is.

Examples of work using this method






12,293 views, 53 posts
Added 11 months ago - last modified 5 months ago
Feedback
Page of 6   1 2 3 4 5 6 Next Page



Posted 8 days ago
Pros: Nice and Clear
Cons: Are there any?
Improvements: Hmmmm
Notes: This helped me get some kills :p

No Signature



Posted 1 month ago
Pros: nice guidance.
Cons: could have easier steps/better instructions at some places
Improvements: ex, paint.net has a DDS save format as default, and it works perfectly.
the dxSDK texture tool must first generate mip maps, which I figured out myself (perhaps only if u used paint.net but anyways...)
Notes: thanks for the help!

No Signature



Posted 1 month ago
Pros: good result
Cons: not super eazy
Improvements: clarity
Notes: :D

No Signature



Posted 5 months ago
Pros: Very good tutorial, I made some sprays that I was satisfied with.
Cons: Not much about the tutorial itself.
Notes: Texture detail must be at high and trilinear filtering must be on for the spray to fade correctly. :P

No Signature



Posted 5 months ago
Pros: easy to follow

No Signature



Posted 5 months ago
Posted by iFenix

Now the link leads to POD Tools for Bloodrayne =/

Had to navigate the site to get the correct file =/


Sorry, my fault.
IT SHOULD NOW LINK TO THE CORRECT ONE.




Posted 5 months ago
Now the link leads to POD Tools for Bloodrayne =/

Had to navigate the site to get the correct file =/

No Signature



Posted 5 months ago
Posted by iFenix

Link for .dds to .vtf is broken.


Updated link.




Posted 5 months ago
Link for .dds to .vtf is broken.

No Signature



Posted 6 months ago
Im having a problem :/
i installed Nvidia Photoshop Plugin but looks like photoshop is ignoring it.. it doesnt show the option .DDS to save..
im using Win7 x64 and Photoshop CS4

Edit:
oh looks like the plugin doesnt work in photoshop 64bits
i installed in 32bits and now its working :}

No Signature
Page of 6   1 2 3 4 5 6 Next Page
Assessment
You cannot assess yet! Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure. To vote on this submission register or login
User Rating [+]
9.8/10
bScore
9.8/10
CSA Manager
Below you can manage appeals and assessments. For guidelines on reviewing appeals, click here.
You do not have permission to access this, sorry
Stamps
This Tutorial in a nutshell...
You do not have permission to access this, sorry
Helpful & Well Written
Submitter
Reag
OFFLINE
I'm a horo addict, LIVE WITH IT.

Peasant
2,642 points

Helper
1 exemplary posts

Apprentice
Joined 8 Sep 2009

Member
Vote for Submitter
You do not have permission to access this, sorry
Vote for Submitter
You do not have permission to access this, sorry