Welcome to CMM

The CMM forum software was recently upgraded, some things may have changed and some things may be broken or not working. Please let me know by PM or on IRC if you have any problems using this forum.

Also, I've removed the skybox and shader links for now, the shader generator page was being abused and as we're moving towards a ue4 mapping base, they're redundant.

How to make a .shader file

Having a problem with a shader or texture
User avatar
Rayne
Site Admin
Posts: 624
Joined: Wed Aug 17, 2011 5:22 pm

How to make a .shader file

Postby Rayne » Fri Oct 12, 2012 1:02 pm

Seems this is a common problem with a lot of mappers no matter their skill level.
How to turn a simple text file into a .shader file that the game recognizes. Most mappers do it...the noob way. Open an existing shader, replace the original shader with your own and rename it.
But, there is a smarter way of making it, and it's just one click away.

Make a new text file and write your shader in it. Once you're done go to "save as", and in the bottom you got a little drop down menu that says "save as type".
Here switch to "all files", now type the name of your shader followed by the ".shader" extension, i.e. "rayne.shader", and now when you save it you got a real shader file instead of a useless .txt file.

And that's pretty much it, simple as that. I'm gonna make this a sticky.

User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

Re: How to make a .shader file

Postby Rylius » Fri Oct 12, 2012 4:21 pm

Go thank Microsoft for hiding file extensions by default. <3
Rain - Blog - deviantArt
<Delirium> I did like a reverse jizz
<Delirium> in my pants
<Delirium> my jeans went into my sack
<Delirium> through my dick

User avatar
banksy
Posts: 196
Joined: Wed Mar 07, 2012 11:10 am
Location: Australia

Re: How to make a .shader file

Postby banksy » Sat Oct 13, 2012 6:59 am

That's simple enough, but I still need to work out what text goes where in a shader :P
Image

User avatar
Rayne
Site Admin
Posts: 624
Joined: Wed Aug 17, 2011 5:22 pm

Re: How to make a .shader file

Postby Rayne » Sat Oct 13, 2012 10:36 am

banksy wrote:That's simple enough, but I still need to work out what text goes where in a shader :P

Now that's a whole different thing.

User avatar
banksy
Posts: 196
Joined: Wed Mar 07, 2012 11:10 am
Location: Australia

Re: How to make a .shader file

Postby banksy » Sat Oct 13, 2012 11:22 am

People have tried teaching me multiple times, and I have watched many tutorials, but I still don't get it haha.
Image

Markinho
Posts: 109
Joined: Thu Nov 03, 2011 10:56 pm
Contact:

Re: How to make a .shader file

Postby Markinho » Sat Oct 13, 2012 3:30 pm

Rylius wrote:Go thank Microsoft for hiding file extensions by default. <3

And this is why I still use XP

Well no, it's because my pc doesn't support 7, whatever :lol:
Image

User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

Re: How to make a .shader file

Postby Rylius » Sat Oct 13, 2012 4:00 pm

XP hides the extensions by default as well.
Rain - Blog - deviantArt
<Delirium> I did like a reverse jizz
<Delirium> in my pants
<Delirium> my jeans went into my sack
<Delirium> through my dick

Markinho
Posts: 109
Joined: Thu Nov 03, 2011 10:56 pm
Contact:

Re: How to make a .shader file

Postby Markinho » Sat Oct 13, 2012 4:33 pm

You say? Then I must have changed it somehow, I've always got them displayed
Image


Return to “Shaders / textures”

Who is online

Users browsing this forum: No registered users and 2 guests

cron