Is there any c-script normal & spectacular shader?

Posted By: Mahdi

Is there any c-script normal & spectacular shader? - 04/01/11 17:52

hi,

I am just so noob at making games. As i could understand I can achieve a high quality model if I use a normal & spectacular map for that.

But I searched this forum and found a few normal map shaders for Lite-c.

Is there normal map shader for c-script? What about spec shader?
Posted By: JibbSmart

Re: Is there any c-script normal & spectacular shader? - 04/01/11 17:56

If you are a noob, I really very strongly recommend learning Lite-C. Actually, I recommend it to anyone, but you're less likely to be heavily invested in a project using C-Script.

It's faster, offers more features, and is actually no harder (some may argue that it is, but only slightly).

Shaders rarely depend on the script much, and normal mapping will definitely work in C-Script -- it's just a matter of assigning the .fx file to the material. Is there any shader in particular you want to use (links, please?)?

Jibb
Posted By: Mahdi

Re: Is there any c-script normal & spectacular shader? - 04/01/11 18:23

Thanks, I am planning to learn lite-c immediately after my demo project grin I know I should be updated grin

This is the normal map shader I want to use:

http://www.coniserver.net/wiki/index.php/Old_Normalmapping_Shader

I don't know what is wrong but the model I assigned this effect turns dark. why?

skin 1 is color map and skin 2 is a 24 bit bmp for normal map. What is wrong?

Should I save my normal map in a special way? any configs in photoshop? or maybe wed?
Posted By: JibbSmart

Re: Is there any c-script normal & spectacular shader? - 04/01/11 18:37

If you don't mind, could you show us a screenshot?

Jibb
Posted By: Mahdi

Re: Is there any c-script normal & spectacular shader? - 04/01/11 18:55

This is a the player without any normal map effect:



This is th player with the normal map effect assigned:


Posted By: JibbSmart

Re: Is there any c-script normal & spectacular shader? - 04/01/11 19:15

Are you using Commercial or Pro edition?

Jibb
Posted By: Mahdi

Re: Is there any c-script normal & spectacular shader? - 04/02/11 04:24

It is pro edition.

(somehow I thought effects could be used on any edition, isn't that right?)

any other suggestions?
Posted By: JibbSmart

Re: Is there any c-script normal & spectacular shader? - 04/02/11 13:57

Only Commercial and Pro support shaders. Sorry, I don't have any other ideas.

Jibb
Posted By: Mahdi

Re: Is there any c-script normal & spectacular shader? - 04/02/11 14:24

Can you please give me a c-script sample project which uses normalmap on a model (a simple model?)?

This is the proccess I done, is there anything that I might done wrong:

I have a model in 3ds max with a 2048 x 2048 texture map (without any normal map or any other effect just a color map), I exported the model with the fbx exporter and imported in med.

then I add another skin (with the name of: skin2) and gave it the normal map texture (a 2048 x 2048 normal map with a blueish color). The normal map texture was saved in 24bit bmp format. I did not assign skin2 to the model.

After that I used a effect in sed and assigned the model the nomalmap shader.

Anything else should I do?
Posted By: JibbSmart

Re: Is there any c-script normal & spectacular shader? - 04/02/11 15:05

I haven't used C-Script since 2007, I think.

It could be that the shader is working, but not getting any lights. Look up the "sun_light" variable in the manual.

Another option is to work through the shader workshop. Once you've done the first 4 workshops (won't take long) you'll not only have your own normal mapping shader, but enough understanding to modify it to your needs.

Have you used other shaders before? Do examples in the GStudio7 folder that use shaders work?

Jibb
Posted By: Mahdi

Re: Is there any c-script normal & spectacular shader? - 04/02/11 16:04

thank you jibb, you really helped me.

I read the shader workshops again and used the normal code there. It works now.

thanks.
Posted By: JibbSmart

Re: Is there any c-script normal & spectacular shader? - 04/02/11 16:13

That's a relief! Glad I could help laugh

Jibb
Posted By: Braindrain85

Re: Is there any c-script normal & spectacular shader? - 04/16/11 12:54

Hey,

I used the Normal map shader from the shader workshop... is there any possibility to use an alpha channel or an extra bitmap to control the opacity for e.g. the hair?

Thanks in advance
© 2024 lite-C Forums