Jump to content

Home

Custom Shaders!!


Gohan_Trunksss

Recommended Posts

I need a tutorial on creating Custom shaders for stuff like light emmitting shaders and liquid shaders so i can make my own lava/fog, and even moveing shaders like fire burning. ive been waiting for Richdiesel to do the tutorials for his website but he hasnt yet and i also searched many other tutorial site but either they dont have a tutorial on shaders or the link didnt work :( so please help me if you can, thanks

 

 

not sure if this is the right thread to post this either so if its not can the admin please move it to the right one

Link to comment
Share on other sites

Well, all i can tell you about shaders is to look at a shader file. I've been learning shaders by simply looking at a shader in game, then having a look at the picture files and at the shader file itself.

 

Make sure you have a good picture editor like photoshop and get the JK2 dev kit. In there you will find a program named ShaderED. That's a program that will help you make a shader, but it will not explain anything.

 

So work by example. Open one of the shader files from the game itself and have a look at what it contains. Don't be afraid to experiment and start with something simple.

Link to comment
Share on other sites

Originally posted by wudan

I wrote my shaders by hand, based on previous shaders. Because shaders are tricky for some and easy for others, I had a pain in the butt time getting them to work.

 

That's what i do as well, but once i get the code ready i check it in ShaderEd. That's also nice for editing an existing one and for error checking, but not for writing new ones.

 

alright i got it ^_^ before i start messing with a shader should i duplicate it so the original shader still exist?

 

DO NOT start messing in the original shader files. Those are your examples. Make a new shader file and copy and paste the shader code you want to edit.

 

To make a new shader file, just create a new text file and change the "txt" extension to "shader".

Link to comment
Share on other sites

Once after a week hard work I was tired enough to remove the only hdd controller in WinNT4 because its name contained SCSI and we had an IDE drive in that machine. Reboot and guess what: no boot device -> reinstall WinNT. AND the only Hungarian version installation CD was just broken in an other machine one or two hours ago during install. So I had to install an English one and told the user (he don't speak English) that he wouldn't understand the error and other messages even if they were in Hungarian so English isn't much worse for him. :D

 

If I ask someone they could tell me, that there is no other controller even if there is only IDE drives in WinNT what I know normally but it was 2am and the seventh day. :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...