-
Posts
258 -
Joined
-
Last visited
Content Type
Profiles
News Articles
Tutorials
Forums
Downloads
Posts posted by Ruxith
-
-
Apologies for the double post, but I have fixed my shader finally!
It includes: 2 glow shaders, 2 RGB shaders, 1 spec shader.
I looked back at the first RGB tutorial that I looked at when I begun trying to figure out how it was done, back on jk3files, again by Crazy Assassin (big credits go to this guy!).
Thankyou Inyri and Milamber for the help you have given to me during this, and i'm gllad I have managed to finally figure it out with your help and the tutorials.
Ryojin likes this -
I've finally got the glow to work as intended; should've looked at JKHub's tutorials to begin with!
As you can see, the glow for the side shots gives a nice effect, from using the original texture (which was purple) without desaturating it. Also, the head doesn't glow completely, which was bugging me.
All I need to figure out now is if it's possible to have 2 RGBs on one texture, as currently it doesn't seem to allow the second one to work, no biggie though as the RGB glow was the main thing that I wanted to figure out.
The info was from these tutorials; Key and Crazy Assassin -
Looking back at your version, yeah that's what you did with the shader. I didn't notice it until now lol.
This was just another skin I tested it on, however it still doesn't solve the issue of having 2 RGBs in one texture's shader; one for basic rgb, and another for rgb glow of different parts of the texture.
It could either be an issue with the texture, or the blendfunc. Basically, with the additional rgb glow part of the shader, it needs something to make what isn't in the alpha to be transparent (how do I do this?), otherwise it sets the whole texture to rgb glow
-
Well I've managed to get an RGB glow shader working, so i'm halfway there :L the first screenshot is of several screenshots ot show a variation of the colours, and the second is of one to show the overall visual of the glow working with RGB.
I guess shaders don't like having RGB twice in the same texture, although it allows 2 different glow's :@
-
Indeed. I have found out that LightingDiffuse sets the alpha's of the texture transparent, LightingDiffuseEntity sets the WHOLE texture space RGB compatible, and adding the two with the glow makes the head black but glow and no RGB xD
I'm lost. Maybe the choice of blendfunc's for the 3 separate parts of the shader for the 2 RGB and the 1 to glow are wrong to make them work together, but I wouldnt know :L
-
Go away sabu you stalker.
-
That's cool Mil, I just thought i'd try and get some help from others too, to see if there's a simple solution xD
I've finally got it to glow, and the RGB areas to work, but the glow doesnt react to RGB yet. Here's the screenshot and code:
models/players/jedi_kdm/head_pic
{{map models/players/jedi_kdm/head_picblendFunc GL_ONE GL_ZEROrgbGen lightingDiffuseEntity}{map models/players/jedi_kdm/head_picblendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHArgbGen lightingDiffuse}{map gfx/models/jedi_kdm/head_pic_glowblendFunc GL_ONE GL_ONEglowrgbGen identity}{map gfx/models/jedi_kdm/head_pic_specblendFunc GL_SRC_ALPHA GL_ONEalphaGen lightingSpecular}}
For the glow to work and not make the head black, "rgbGen identity" seems to be a requirement, changing it to the same as on the usual RGB shaders to lightingDiffuse or lightingDiffuseEntity doesn't work.
-
My glow now is pretty much the same brightness as the normal rgb, but the head is still black and I don't know why.
When I add "blendFunc GL_SRC_ALPHA GL_ONE" to the glow texture's shader, with the line for rgb "rgbGen lightingDiffuseEntity" it makes the head transparent and the glow parts are invisible.
This is my shader currently;
models/players/jedi_kdm/head_pic{{map models/players/jedi_kdm/head_picblendFunc GL_ONE GL_ZEROrgbGen lightingDiffuseEntity}{map models/players/jedi_kdm/head_picblendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHArgbGen lightingDiffuse}{map gfx/models/jedi_kdm/head_pic_glowblendFunc GL_ONE GL_ZEROglowrgbGen lightingDiffuseEntity}{map gfx/models/jedi_kdm/head_pic_glowblendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHArgbGen lightingDiffuse}{map gfx/models/jedi_kdm/head_pic_specblendFunc GL_SRC_ALPHA GL_ONEalphaGen lightingSpecular}} -
Thanks for that. On the glow side I don't think it's glowing currently as far as I can see.
This is the glow that I am intending, as you can see alongside the comparison with a screenshot from the code you quoted, where the RGB is working but what doesn't seem to be a glow:
I did test it myself a couple weeks ago by making a few changes in the code to try and understand what they do, and also having @@Milamber look at a few ideas.
I was able to get (what looked to be) the glow working, but it set the head to be completely black, with the RGB eyes glowing (it is dark, but if you up the brightness of the screenshot you can see the red colour has spread around the eyes as it would for a glow);
Which used this code:
models/players/jedi_kdm/head_pic
{{map models/players/jedi_kdm/head_picblendFunc GL_ONE GL_ZEROrgbGen lightingDiffuseEntity}{map models/players/jedi_kdm/head_picblendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHArgbGen lightingDiffuse}{map gfx/models/jedi_kdm/head_pic_specblendFunc GL_SRC_ALPHA GL_ONEalphaGen lightingSpecular}{map gfx/models/jedi_kdm/head_pic_glowblendFunc GL_ONE GL_ZEROglowrgbGen lightingDiffuseEntity}}
I assume this is the closest, as the glow is working (when it isn't with other attempts), but I don't know why the head is being set to black as I don't know much about shaders code besides changing the paths.
Otherwise this was my end result, and the second pic is milamber's result; both glowing heads but not with the desired effect:
This was my first real time experimenting with shaders; usually I copy and paste shaders others have used for the visuals I wanted so I didn't need to play around to learn the code for them. I'm unsure if the texture is the cause as the rgb's work fine for the areas which don't glow and are actually more grey in colour to the _glow texture I have for the eyes. I hope this helps if you are able to do any more with this.
-
True, sorry about that I should've given them initially.
Here's the pk3 and the shader in text:
http://www.mediafire.com/?mwaaayf581tpe6q
models/players/jedi_kdm/head_pic
{{map models/players/jedi_kdm/head_picblendFunc GL_ONE GL_ZEROrgbGen lightingDiffuseEntity}{map models/players/jedi_kdm/head_picblendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHArgbGen lightingDiffuse}{map gfx/models/jedi_kdm/head_pic_glowblendFunc GL_ONE GL_ZEROglowrgbGen lightingDiffuseEntity}{map gfx/models/jedi_kdm/head_pic_specblendFunc GL_SRC_ALPHA GL_ONEalphaGen lightingSpecular}}models/players/jedi_kdm/icon_head_h8{nopicmipnomipmaps{map models/players/jedi_kdm/icon_head_h8rgbGen identity}{map models/players/jedi_kdm/icon_head_h8blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHArgbGen vertex}}models/players/jedi_kdm/icon_piccolo{nopicmipnomipmaps{map models/players/jedi_kdm/icon_piccolorgbGen identity}{map models/players/jedi_kdm/icon_piccoloblendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHArgbGen vertex}} -
*bump*
No one has an answer for this? I still haven't been able to figure it out and would appreciate it if someone knew how to do it.
-
Maybe (if you know how) set the green circle on the chest to glow with a shader, like iron man!
The green armor parts you could set to tint so they reflect like armor (again with a shader).
I don't know what to think about the texture for the robes; it feels a bit empty and like it has been oversharpened, but I don't know what your intentions were with it
Melkav nice to see another kel dor user we're going to take over the galaxy! I like what you did with your skin, especially the eyes :L
-
I'm not much good at creating my own shaders, so upon editing skins i've come to a halt with creating something that I wanted. Making RGB skins has been my "next stage" of learning reskins, and I have figured that out. But now I want to enable a shader which will change depending on the RGB choices. I have done so with a glow shader I already had, but the glow effect and colour intensity is very pale.
I was just wondering if anyone had experimented/created something similar in the past and could put me in the right direction as I am unsure if it is part of the code that I have done wrong, or the texture (I followed an existing style and it shouldn't be because of this). I've changed areas both shader and non-shader in the skin, and the area without the glow section has worked fine, so I guess it must be with the code.
Below is the screenshot of the shader in-game, and the code I am using;
models/players/jedi_kdm/head_2ryo{{map models/players/jedi_kdm/head_2ryoblendFunc GL_ONE GL_ZEROrgbGen lightingDiffuseEntity}{map gfx/models/jedi_kdm/head_2ryo_glowblendFunc GL_ONE GL_ONEglowrgbGen identity}{map models/players/jedi_kdm/head_2ryoblendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHArgbGen lightingDiffuse}{map gfx/models/jedi_kdm/head_2ryo_specblendFunc GL_SRC_ALPHA GL_ONEalphaGen lightingSpecular}}(Yep, i'm working from ryojin's keldor reskin for anyone who guessed xD ).
Thanks in advance for any brave volunteers!
-
-
Okay, I've added the variants you wanted, included in the original skin so that I'm not trying to take any credit away from the original author
I've added team skins, jka-themed icons, and applied shaders to the clothing (i tend to do it with most reskins), so if you don't like it then remove the shaders folder from the .pk3
Here's the download link: http://www.mediafire.com/?z6gzdfnw5jpfbka
I have also fixed a texture seam on the back of the head, though you wouldn't notice it, and some .skin file edits. The repeated texture files have been removed to reduce the file size. 11 skins for under 5MB, not bad.
Credits go to the original author: Mars Marshall
Kualan likes this -
-
Sounds like a shader issue to me Blaze. I can help you out on xfire if I catch you before you fix it
-
If you're only making part of an image file transparent, then you will need to include a shader for that image, otherwise transparency (I don't think) will work.
This is the lines of code that I use for transparency in an image, you just need to change the directories to your own skin's image, and save it in a notepad as a .shader (i guess you know how anyway):
models/players/jawa_kdm/robe
{
cull disable
{
map models/players/jawa_kdm/robe
alphaFunc GE128
depthWrite
rgbGen lightingDiffuse
}
}
Save the image as a .png, with the areas you want invisible to be empty. Remember that the transparency won't show in modview as shaders don't work in it, so you will have to preview it in-game.
-
Pretty sweet idea, I like this a lot
-
Nice improvement from the first version of EFF arena morabis
That's not an apophis statue is it?! xD
-
Hey @sMile mate we meet for the 500th time xD
-
Freshhhh
-
There's a program called JKCvarHack, which enables the use of cheat protected commands.
Idk if it's allowed to post it here, but that's what would do it
-
Looking pretty sweet so far.
Some Help With My First Mod/Model?
in Modding Assistance
Posted
You'd probably want to take a look at the modelling tutorials here at JKHub, as you haven't made any mods which were modelled by yourself before:
http://jkhub.org/tutorials/category/13-modelling/
I don't know where to begin with modelling in general but there's a lot of people here who do so i'm sure you'll get some help if you need it along the way. Note that this has been before by Darth_shiftee. If you havent seen them then take a look here.