Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Stooq now requires an API key
by VHX. 06/08/26 20:14
ZorroGPT
by TipmyPip. 06/06/26 12:36
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
XTB
by pr0logic. 05/18/26 12:27
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 3,500 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Seraphinang, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
New NMapping shader on the wiki[full full SpecMap and Blender] #275664
07/02/09 07:11
07/02/09 07:11
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
Well thanks to JulzMIGHTY (emphasis on the mighty)

found out that when blender bakes normal maps it maps the z value from 0 to 1 instead of -1 to 1, so i modified the 6-light shader from the wiki to support it. Also set it up so that it also uses full specmaps, instead of just a horrible glossmap.

Re: New NMapping shader on the wiki[full full SpecMap and Blender] [Re: lostclimate] #275704
07/02/09 08:24
07/02/09 08:24
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
Modified more to make it much better, especially for sculpted models.


An Example of the way it looks:



Last edited by lostclimate; 07/02/09 08:40.
Re: New NMapping shader on the wiki[full full SpecMap and Blender] [Re: lostclimate] #275749
07/02/09 09:43
07/02/09 09:43
Joined: Apr 2008
Posts: 2,488
ratchet Offline
Expert
ratchet  Offline
Expert

Joined: Apr 2008
Posts: 2,488
No ot make you mad Lostimate but :
Looks like an old low poly model with low res texture.
You need highter resolution textures.
And sorry but the shader effect is not very noticeable !!

For Blender a fast ,easy solution is in Gimp :
-You turn your normal map to Black and White depthmap.
-You invert colors
-You turn it to normal map.

Well, Blender is special or is it A7 that have a special normal map shader ?


Last edited by ratchet; 07/02/09 09:47.
Re: New NMapping shader on the wiki[full full SpecMap and Blender] [Re: ratchet] #275787
07/02/09 11:30
07/02/09 11:30
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
your "solution" is messed up in sooooo many ways.

The problem with it is that blender exports differently than most engines handle because most engines do it the way doom3 does, that is stores the values of 0-225 mapping the z distance between -1 and 1, since negative values are culled out anyways, blender stores the full value in the positive, so the z depth has a higher resolution. The result is the typical normal mapping shaders looking a lot flatter than it should, the solution is mapping the z (blue channel differently).

as far as the picture, it is very low resolution, but the normal map is visible if you look at the chest near the top of the tie, that is all basically flat polygons, all the wrinkles are from a sculpted normalmap.

a slightly higher res with only the normal mapping on. model is 1905 triangles.




EDIT:for comparisons sake:


As far as the critique, you should probably check out the resolution of an image (and how much of the texture you can see on it) before your critique the resolution of the texture

Last edited by lostclimate; 07/02/09 11:33.
Re: New NMapping shader on the wiki[full full SpecMap and Blender] [Re: lostclimate] #275813
07/02/09 12:54
07/02/09 12:54
Joined: Apr 2008
Posts: 2,488
ratchet Offline
Expert
ratchet  Offline
Expert

Joined: Apr 2008
Posts: 2,488
Well ...
You should tell ot Blender forums for normal map not done like in others modelers !


Well not to discourage you, and don't take my thoughts too seriously smile :
- Lot of work on the face, is it a zommbie ??
- The noise on clothes is strange in the pants and its is not
what will really counts for normal maps !
- no real work on clothes , missing lot of wrinckles :
there is no detail on clothes , they are plane as HEll laugh
(only some around the tie)

Foolow this example for low poly face and for clothes normal map wrinckles :

AAA Clothes wrinckles

normal map

Another clothes
Ok , you can go back to work and remake your model grin


Last edited by ratchet; 07/02/09 13:05.
Re: New NMapping shader on the wiki[full full SpecMap and Blender] [Re: ratchet] #275827
07/02/09 13:11
07/02/09 13:11
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
what he showcasing here is the shader not the model from what i undestand from the first post

Last edited by Quadraxas; 07/02/09 13:11.

3333333333
Re: New NMapping shader on the wiki[full full SpecMap and Blender] [Re: Quad] #275838
07/02/09 13:25
07/02/09 13:25
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
Thanks for the shout-out lostclimate laugh

@ratchet: Don't take this the wrong way, and I don't know if you already know this, but since your English isn't very good it is often difficult to understand what you are saying, or (sometimes more importantly) the way you are saying it.

It often comes across very rudely. Not just in this thread, but in other threads. Please take this as constructive criticism smile

The topic in this thread is not how you feel about lostclimate's model, it's the normalmapping.

I stumbled across what I thought could've been the reason Blender normalmaps weren't showing up properly in A7, and lostclimate wrote and tested and confirmed the solution, updated the wiki with a new version, and announced it here for anyone who's had the same issue (and rewarded me generously for something that didn't take any effort on my part laugh ).

If you want to just edit the image in GIMP and use the same shader as you used to, no dramas:
Go to Colors->Levels, change the Channel to Blue, and move the left-most arrow in "Output Levels" up to "128", then hit "OK".

But why change the normal maps of all the models you made in Blender, when you can just make one change to the shader and forget about it?
Quote:
Well ...
You should tell ot Blender forums for normal map not done like in others modelers !
We don't know if it's specific to Blender. It's just two different ways to do it. One is potentially more accurate in the Z-axis (Blender's, though I don't think accuracy has ever been an issue), while the other is more straight-forward (I don't know which one is more standard).

If you use a different normalmap-creator, you should find out if the Z-axis is encoded the same way as the other axes to determine which shader you'll use.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: New NMapping shader on the wiki[full full SpecMap and Blender] [Re: JibbSmart] #275899
07/02/09 17:42
07/02/09 17:42
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
haha, ratchet, you should show me a business suit with all those wrinkles in it, because I'll gaurentee the owner does not have a job.

Last edited by lostclimate; 07/03/09 00:29.
Re: New NMapping shader on the wiki[full full SpecMap and Blender] [Re: lostclimate] #275912
07/02/09 18:15
07/02/09 18:15
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
also, this is off topic, but i am posting a higher res pic of the face so you can show me how you get that it looks like a zombie:




Moderated by  Blink, Hummel, Superku 

Gamestudio download | 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