Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, howardR), 472 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Is there any c-script normal & spectacular shader? #366150
04/01/11 17:52
04/01/11 17:52
Joined: Aug 2007
Posts: 74
Mahdi Offline OP
Junior Member
Mahdi  Offline OP
Junior Member

Joined: Aug 2007
Posts: 74
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?


I don't care!
Re: Is there any c-script normal & spectacular shader? [Re: Mahdi] #366151
04/01/11 17:56
04/01/11 17:56
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
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


Formerly known as JulzMighty.
I made KarBOOM!
Re: Is there any c-script normal & spectacular shader? [Re: JibbSmart] #366156
04/01/11 18:23
04/01/11 18:23
Joined: Aug 2007
Posts: 74
Mahdi Offline OP
Junior Member
Mahdi  Offline OP
Junior Member

Joined: Aug 2007
Posts: 74
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?


I don't care!
Re: Is there any c-script normal & spectacular shader? [Re: Mahdi] #366161
04/01/11 18:37
04/01/11 18:37
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
If you don't mind, could you show us a screenshot?

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Is there any c-script normal & spectacular shader? [Re: JibbSmart] #366163
04/01/11 18:55
04/01/11 18:55
Joined: Aug 2007
Posts: 74
Mahdi Offline OP
Junior Member
Mahdi  Offline OP
Junior Member

Joined: Aug 2007
Posts: 74
This is a the player without any normal map effect:



This is th player with the normal map effect assigned:




I don't care!
Re: Is there any c-script normal & spectacular shader? [Re: Mahdi] #366168
04/01/11 19:15
04/01/11 19:15
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Are you using Commercial or Pro edition?

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Is there any c-script normal & spectacular shader? [Re: JibbSmart] #366234
04/02/11 04:24
04/02/11 04:24
Joined: Aug 2007
Posts: 74
Mahdi Offline OP
Junior Member
Mahdi  Offline OP
Junior Member

Joined: Aug 2007
Posts: 74
It is pro edition.

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

any other suggestions?


I don't care!
Re: Is there any c-script normal & spectacular shader? [Re: Mahdi] #366260
04/02/11 13:57
04/02/11 13:57
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Only Commercial and Pro support shaders. Sorry, I don't have any other ideas.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Is there any c-script normal & spectacular shader? [Re: JibbSmart] #366267
04/02/11 14:24
04/02/11 14:24
Joined: Aug 2007
Posts: 74
Mahdi Offline OP
Junior Member
Mahdi  Offline OP
Junior Member

Joined: Aug 2007
Posts: 74
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?


I don't care!
Re: Is there any c-script normal & spectacular shader? [Re: Mahdi] #366271
04/02/11 15:05
04/02/11 15:05
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
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


Formerly known as JulzMighty.
I made KarBOOM!
Page 1 of 2 1 2

Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1