Kitty Corp Meow Mix Forums

Help & Tutorials => Model Tutorials => Topic started by: Mewtwo2000 on May 18, 2013, 05:29:26 PM



Title: Rim lighting (video-tutorial)
Post by: Mewtwo2000 on May 18, 2013, 05:29:26 PM
This is a video I've made to show how I make my rim lighting characters.

I want to make the rest of the original Brawl characters, so don't use this tutorial to make those, please.

Just use it with your imports. It'd be cool if you made a rim lighting version of every character you release from now on.

[Tutorial] - Rim lighting for Brawl characters (by Mewtwo2000) (http://www.youtube.com/watch?v=lc_u-L3gcZU#ws)


Title: Re: Rim lighting (video-tutorial)
Post by: SonicBrawler on May 18, 2013, 05:46:40 PM
sweet! i cant wait to use this.


Title: Re: Rim lighting (video-tutorial)
Post by: Noctua on December 25, 2013, 08:57:13 PM
Hey everyone, was wondering if it was possible to combine the rim-lighting effect with the cel-shading method described in this thread  (http://forums.kc-mm.com/index.php?topic=39568.0).
I've been working at it myself, but haven't really seen any favorable results.

If anyone has alternate approaches or work-arounds, I would greatly appreciate it.


Title: Re: Rim lighting (video-tutorial)
Post by: Nezha B. Rose on January 01, 2014, 05:34:40 PM
I need to learn this!


Title: Re: Rim lighting (video-tutorial)
Post by: Mewtwo2000 on January 01, 2014, 05:48:14 PM
Hey everyone, was wondering if it was possible to combine the rim-lighting effect with the cel-shading method described in this thread  ([url]http://forums.kc-mm.com/index.php?topic=39568.0[/url]).
I've been working at it myself, but haven't really seen any favorable results.

If anyone has alternate approaches or work-arounds, I would greatly appreciate it.


Well, I've never done it, but it should be possible. Get a model with the cell-shading effect on it and just follow the rim lighting tutorial over that one. If you get into trouble, I'll try it too.


Title: Re: Rim lighting (video-tutorial)
Post by: Noctua on January 02, 2014, 03:37:24 PM
Well, I've never done it, but it should be possible. Get a model with the cell-shading effect on it and just follow the rim lighting tutorial over that one. If you get into trouble, I'll try it too.
Thank you for replying.
I think the reason it hasn't been working out well on my end might be because there's no shader stage with RasterColor for  ColorSelection C. I went ahead and added the new shader stage anyway and changed the value on the preceding stage to RasterColor, followed all the other steps for rim-lighitng, and the in-game result was a flickering model.

I'm still trying all sorts of different combinations though, so any other advice, tips and such are appreciated. Thanks for the help.

edit: Took some time, but I was able to achieve the effect. I used a very different approach to achieve it but the effect is mostly the same.


Title: Re: Rim lighting (video-tutorial)
Post by: Nezha B. Rose on January 02, 2014, 04:18:03 PM
THANK YOU!
(http://i.imgur.com/Pt6XvL5.jpg)
(http://i.imgur.com/4APBt0V.jpg)

I learned how to Rim Light! But... I followed your instructions exactly and this still happens:

(http://i.imgur.com/g9UYNrS.jpg)(http://i.imgur.com/NZa59PW.jpg)(http://i.imgur.com/t57Rf8F.jpg)

Did I do anything wrong?


Title: Re: Rim lighting (video-tutorial)
Post by: Mewtwo2000 on January 03, 2014, 08:11:52 AM
It's as if you didn't add the 'Edge' texture to the textures folder O.o


Title: Re: Rim lighting (video-tutorial)
Post by: SonicBrawler on January 03, 2014, 08:16:25 AM
but dang. that actually looks cool


Title: Re: Rim lighting (video-tutorial)
Post by: Nezha B. Rose on January 03, 2014, 12:29:36 PM
It's as if you didn't add the 'Edge' texture to the textures folder O.o

Oh... :(
I skipped that one...
whoops :P

But atleast I learned how to make characters metalic  :af2:


Title: Re: Rim lighting (video-tutorial)
Post by: SharpHackz200 on January 20, 2014, 10:42:50 PM
Does the name have to be edge or it could be anything you want??

Post Merge: January 21, 2014, 12:36:19 AM
Umm.. What happened to my model.  There are many things that wrong, I just don't know how to explain them :srs:

(http://i.imgur.com/MGBs3r8.jpg)


Title: Re: Rim lighting (video-tutorial)
Post by: Mewtwo2000 on January 21, 2014, 02:26:56 AM
The name can be anything you want.

Have you put the HasTextureMatrix value on true in all possible cases?


Title: Re: Rim lighting (video-tutorial)
Post by: Akeno/Archer on January 21, 2014, 06:16:58 AM
Hmm... I think the Rim Lighting looks great! Just... Can you tell me how to tone it down, though? I think it's a bit too much on this import :

(http://i.imgur.com/8rbfSIw.jpg)


Title: Re: Rim lighting (video-tutorial)
Post by: Mewtwo2000 on January 21, 2014, 06:26:44 AM
Probably you forgot to change some value in the shaders. I can take a look to it for you if you don't find the issue.


Title: Re: Rim lighting (video-tutorial)
Post by: Akeno/Archer on January 21, 2014, 07:11:07 AM
Probably you forgot to change some value in the shaders. I can take a look to it for you if you don't find the issue.
Okay. I'll try to find... If I don't, I'll send it to you.


Title: Re: Rim lighting (video-tutorial)
Post by: SharpHackz200 on January 21, 2014, 05:36:28 PM
The name can be anything you want.

Have you put the HasTextureMatrix value on true in all possible cases?

Yes I did and it still says false whenever I save it and open it again


Title: Re: Rim lighting (video-tutorial)
Post by: Mewtwo2000 on January 22, 2014, 01:36:56 AM
Singlebind objects will always have false in there, that's fine. Just put on true the ones that can be on true and they will be the way they're supposed to be.


Title: Re: Rim lighting (video-tutorial)
Post by: Kyouma on January 22, 2014, 10:50:12 AM
Oh, did I forget to say thanks for this? I use rim on all of my new imports now since kinda long ago lol


Title: Re: Rim lighting (video-tutorial)
Post by: SharpHackz200 on January 25, 2014, 04:10:48 AM
Singlebind objects will always have false in there, that's fine. Just put on true the ones that can be on true and they will be the way they're supposed to be.

Ok I did what you said, and it still does that.  I have one question though.  When you add a rim lighting to a character do you have to put it on all materials (except for the metal ones) or it can be certain material  I think MAYBE this is why it kept on doing that


Title: Re: Rim lighting (video-tutorial)
Post by: Mewtwo2000 on January 25, 2014, 07:02:36 AM
You need it on every material. If you do it only for one material, only that part of the character will use rim lighting, and if the shader is modified and the material isn't, you'll get graphical glitches.


Title: Re: Rim lighting (video-tutorial)
Post by: Kyouma on January 25, 2014, 12:03:28 PM
Well, I don't really think is that bad. On my imports, I put rim on the clothing texture materials only and I leave the body texture materials as default and I have no problems.


Title: Re: Rim lighting (video-tutorial)
Post by: Mewtwo2000 on January 25, 2014, 01:23:06 PM
Well, I don't really think is that bad. On my imports, I put rim on the clothing texture materials only and I leave the body texture materials as default and I have no problems.

If the shaders used by the materials aren't the same, there will be no glitches. But if the shader used by rim and not rim materials are the same, there will be something wrong cause it will try to load a texture that's not there for the no-rim ones.

There's the possibility that it looks right, but it's not the correct way to do it. Adding a shader exclusive for the non-rim materials takes no time anyway.


Title: Re: Rim lighting (video-tutorial)
Post by: Kyouma on January 25, 2014, 01:27:07 PM
That's what I do lol, who would use a different material for the same shader?! Sometimes that even causes crashes.


Title: Re: Rim lighting (video-tutorial)
Post by: SharpHackz200 on January 25, 2014, 09:59:52 PM
You need it on every material. If you do it only for one material, only that part of the character will use rim lighting, and if the shader is modified and the material isn't, you'll get graphical glitches.

Is that why mine kept on doing that???  Do you also need to add the rim lighting to the eye polygons, too??


Title: Re: Rim lighting (video-tutorial)
Post by: Mewtwo2000 on January 26, 2014, 12:27:00 PM
You don't need it. You only need to not use the wrong shaders with the wrong materials. If you don't use rim lighting on the eyes, just be sure the eyes aren't using the shader you've edited for rim lighting, but an unedited one.


Title: Re: Rim lighting (video-tutorial)
Post by: SharpHackz200 on January 26, 2014, 08:30:51 PM
You don't need it. You only need to not use the wrong shaders with the wrong materials. If you don't use rim lighting on the eyes, just be sure the eyes aren't using the shader you've edited for rim lighting, but an unedited one.


Ok I edited the eye polygon, i put on all true for texture matrixes, and it did this.
(http://i.imgur.com/C8wMjX9.jpg)

It looks like the textures were messed up.

Post Merge: January 27, 2014, 12:17:22 AM
Just ignore my last post.  I finally figured it out. Thanks for helping Mewtwo2000.  As for the intensity of the rim lighting.  I just have to edit the texture into something more darker, right?? ;D
(http://i.imgur.com/mJHoDR4.jpg)


Title: Re: Rim lighting (video-tutorial)
Post by: Mewtwo2000 on January 27, 2014, 02:16:46 AM
Yeah, just change its brightness. A fully black 'edge' texture is supposed to show the model just the way it was when it had no rim. If when using a black texture the model still looked too bright, it would mean that you forgot to edit some value in the shaders.


Title: Re: Rim lighting (video-tutorial)
Post by: SharpHackz200 on January 28, 2014, 05:43:40 PM
Yeah, just change its brightness. A fully black 'edge' texture is supposed to show the model just the way it was when it had no rim. If when using a black texture the model still looked too bright, it would mean that you forgot to edit some value in the shaders.

But one thing though.  I tested in every stage, but the only stage that have a problem with Peach was Delfino Plaza (No I don't have a hack over it.  It's just the normal one)  Peach will turn very bright and will lose it's iris (with no iris, there's just the WhiteEye texture of Peach)
When I get knocked off the screen or just die, Peach will show up the way it should be. and for about 30 seconds it will turn very bright again and it will lose the iris texture


Title: Re: Rim lighting (video-tutorial)
Post by: Mewtwo2000 on January 28, 2014, 06:04:05 PM
There's an additional step not in the video that fixes that weird problem present in some cases in Delfino. For some reason I never get that issue on Delfino myself, but I get it when facing Rayquaza on the Boss Battles mode.

For every edited shader, add a new 'stage' and place it as the second stage.

Copy these settings for that new stage in every edited shader and you'll fix that issue:

(http://i.imgur.com/JIUoLW1.png)


Title: Re: Rim lighting (video-tutorial)
Post by: SharpHackz200 on January 31, 2014, 08:51:47 AM
There's an additional step not in the video that fixes that weird problem present in some cases in Delfino. For some reason I never get that issue on Delfino myself, but I get it when facing Rayquaza on the Boss Battles mode.

For every edited shader, add a new 'stage' and place it as the second stage.


Copy these settings for that new stage in every edited shader and you'll fix that issue:

([url]http://i.imgur.com/JIUoLW1.png[/url])



Oh Yay it works :happy:  Many Many Many Many Thanks Mewtwo :D

Post Merge: January 31, 2014, 09:09:52 PM
I HAVE ANOTHER PROBLEM!!!
(http://imgur.com/jWPDBWN)

What did I do wrong.  Did I miss something on the tutorial???


Title: Re: Rim lighting (video-tutorial)
Post by: SharpHackz200 on February 03, 2014, 10:11:12 PM
Sorry that picture didn't work.

Here you go.... The dress is usually white so it's not a problem.. (JUST A RECOLOR OF THE WHITE DRESS SHE HAS)  The problem is the eyes when she's in the final smash state. They turn dark. I'm sorry if I'm bothering you so much...

(http://i.imgur.com/BnRo3uC.jpg)