Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Some Kind of Shader #274085
06/25/09 16:10
06/25/09 16:10
Joined: Jun 2009
Posts: 12
D
DanielTruong Offline OP
Newbie
DanielTruong  Offline OP
Newbie
D

Joined: Jun 2009
Posts: 12
Hi !
I'm learing about Shader from exaple. and have 2 questions :
1 :
This is the colored texture:

and this is the Normal Texture :

so... WHAT IS THIS ? (Kind of Shader) if you can please share me the fx file :


2 : would someone mind tell me about so0me common Shader ?

Last edited by DanielTruong; 06/25/09 16:12.
Re: Some Kind of Shader [Re: DanielTruong] #274087
06/25/09 16:14
06/25/09 16:14
Joined: Oct 2008
Posts: 681
Germany
Ayumi Online
User
Ayumi  Online
User

Joined: Oct 2008
Posts: 681
Germany
This is a blendmap, i think.(Not sure)
You will need it for some terrain shader.

Re: Some Kind of Shader [Re: Ayumi] #274139
06/25/09 20:48
06/25/09 20:48
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline
User
the_mehmaster  Offline
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
Looks to me like a diffuse reflection map. The brighter the pixel, the more light reflected.

Re: Some Kind of Shader [Re: the_mehmaster] #274145
06/25/09 21:10
06/25/09 21:10
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Maybe it's supposed to be a bumpmap?


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: Some Kind of Shader [Re: Nidhogg] #274149
06/25/09 21:25
06/25/09 21:25
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
The second texture is a normal map. You can use it in a shader. After the shader the "main" texture is no more flat, the more darker the texture is the more goes the pixel far. Gives the texture "depth".
The third is like the_mehmaster said...
Hope you understand my bad english....

Re: Some Kind of Shader [Re: Widi] #274209
06/26/09 03:19
06/26/09 03:19
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
The second is a Normalmap with information to extant the Normals of a polygon.
The result is a more realistic, more detailed lighting of the surface.
To get a better illusion of the relief wich is described by the normalmap, a height- or depthmap is used to create occlusion through some kind of perpixel offsetmapping. This height/depthmap is normaly stored in the alpha channel of the normalmap. Some image previewer shows you the alphachannal of a texture in white. So the third of your textures is the second map wich contains a height/depthmap the alphachannel.

Re: Some Kind of Shader [Re: Hummel] #274607
06/27/09 15:02
06/27/09 15:02
Joined: Jun 2009
Posts: 12
D
DanielTruong Offline OP
Newbie
DanielTruong  Offline OP
Newbie
D

Joined: Jun 2009
Posts: 12
I had just recieved the email of author !
He said that : the 3rd Texxture is Spec + Bump Mapping... !
can some one tell more about that ?

Re: Some Kind of Shader [Re: DanielTruong] #274629
06/27/09 17:20
06/27/09 17:20
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline
Serious User
Nowherebrain  Offline
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
specular = shiny-ness
and the use as a bump is probably a fallback for normalmapping(or lack of).
I'm guessing this is a somewhat old shader if that is the case written during the transistion from direcX 8 > 9....
But I am no expert.

Last edited by Nowherebrain; 06/27/09 17:21. Reason: I suck

Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/
Re: Some Kind of Shader [Re: Nowherebrain] #276774
07/06/09 10:54
07/06/09 10:54
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
sometimes the normalmapping is also called bumpmapping and the specmap holds information how strong (and sharp) the specular-highlights are.

Re: Some Kind of Shader [Re: Hummel] #276805
07/06/09 14:59
07/06/09 14:59
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Just wondering guys, I don't know much about shaders so the question I have is, What ?.fx shader would a person use to enable this effect?


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
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