Does anyone know of a guide / tutorial explaining on how to create shaders and specular maps?
Shaders / Specular Maps
-
-
For what engine/game?
-
Source / Half-Life 2
-
So you want to learn how to create shaders or use them?

-
-
How did you find this site?
err thats beside the point. The reason I ask, Is because there is a major difference between creating a shader and using a shader.
So here are so good "tuts"
http://www.google.com/search?hl=en&lr=& ... tnG=Search
Pick one :roll:
-
-
Learn the DX9 SDK and the HLSL language, then you should be able to do it.
-
Mmkay, how about specular maps?
-
FRITZ if you have nothing constructive to say, don't say anything.
He was clearly asking about how to go about creating shaders for source.
Specular maps... I usually base them off my diffuse map. I'm not sure if Source supports colored specular maps but you can get some really nice results with color spec maps.
General rule for specular maps:
bright pixels = much specularity, dark pixels = little specularity.
I usually start by making a very contrasty version of my diffuse and then going in and handpaint highlights around the edges of objects. This gives you an especially nice effect on metallic objects.
It's pretty easy and straightforward.
-
What do you mean, other way around
-
Quote from kleinluka
FRITZ if you have nothing constructive to say, don't say anything.He was clearly asking about how to go about creating shaders for source.
How was that not constructive.:roll: He clearly ask how to create shaders.
Didn't ask how to use them. So If he didn't get the hint. He needs to learn c.
-
afaik, shaders are written in hlsl, half-life shader language. i think theres also cg, which is nvidias shader language.
-
I think hes talking about VMT code.
Heres how you make things shiny--
Code
Display More"VertexLitGeneric" { "$baseTexture" "foldername/texturename" "$envmap" "env_cubemap" "$envmaptint" "[ .36 .36 .30 ]" "$envmapconstrast" "1" "$normalmapalphaenvmapmask" 1 }I dont know what the hell you other guys are talking about.
Any other texturing questions should be directed here - http://www.hl2world.com/wiki/index.php/ ... :Texturing
-
Quote from |FRITZ|
How was that not constructive.:roll: He clearly ask how to create shaders.
Didn't ask how to use them. So If he didn't get the hint. He needs to learn c.
C is for sure not the language to learn for shaders, you are maybe thinking of Cg?
Quoteafaik, shaders are written in hlsl, half-life shader language. i think theres also cg, which is nvidias shader language.
Yes shaders can be written in HLSL, but it stands for High Level Shader Language:)
-
oh, i thought i heard half-life shader language somewhere, thanks for the correction
-
Quote from Pericolos0
dark = more specular
thats weird and doesnt make any sense

damn valve. everybody else does it right
-
do you have a sample specular map from valve anywhere?
I'd like to see it
-
that almost looks like an opacity map to me o_O
-
awesome texture peri
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!