|
3 registered members (TipmyPip, Quad, alibaba),
3,933
guests, and 2
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Mtl_SpecBump: How to make the static shadows darker?
#438909
03/23/14 11:43
03/23/14 11:43
|
Joined: Nov 2005
Posts: 112
miez
OP
Member
|
OP
Member
Joined: Nov 2005
Posts: 112
|
I have a small Shaderproblem with the standard mtl_specbump shader. Most of it works as I want it to, but the static shadows are too bright.  My Level has an Ambient of 16 and sun is at 9. And my lightsource is 255 and with a range 1000. When I compile the level with the light as static, the shadows are like expected, but compiled with the dynamic flagged light the shadow appears to be almost four times as bright as the levelambient value. I played around in the shader, but could not figure it out myself. I read in the manual, that there are parameters, thet can be changed for this shader, but how do I do it with levelgeometry. What parameter or what part in the shadercode do I have to change?
|
|
|
Re: Mtl_SpecBump: How to make the static shadows darker?
[Re: rayp]
#439166
03/27/14 22:46
03/27/14 22:46
|
Joined: Nov 2005
Posts: 112
miez
OP
Member
|
OP
Member
Joined: Nov 2005
Posts: 112
|
I don´t like shade-c for now. I have enough to do with getting used to A8. And I want to keep things as simple as possible. I don´t need shade-c´s fancy effects for my first 3D Game, when I can´t create the fancy content for it yet. It is always a rediculous show, to see totally craptastic made beginners-games that uses and are rendered in state of the art AAA effects and shaders. Those pop up from Unity and UDK in most cases.
Sivan: Sounds very interesting. How would your approach work in detail in my case? Would the lightmaps be still reacting to dynamic lights while having correct static shadows AND normalmapping shown without them?
Last edited by miez; 03/27/14 22:56.
|
|
|
Re: Mtl_SpecBump: How to make the static shadows darker?
[Re: miez]
#439167
03/27/14 23:03
03/27/14 23:03
|
Joined: Jul 2008
Posts: 2,112 Germany
rayp

X
|

X
Joined: Jul 2008
Posts: 2,112
Germany
|
to be honest I really don't understand why the included shader package is so limited and unchanged for years... and the shader workshops... some of them are good, but difficult to extend/customize, so normally you have to make your own shaders based on several information sources
...and using good looking std. dynamic lights : nearly impossible ( going through walls etc ). good luck
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
|
|
|
Re: Mtl_SpecBump: How to make the static shadows darker?
[Re: rayp]
#439172
03/28/14 01:19
03/28/14 01:19
|
Joined: Apr 2005
Posts: 1,988 Canadian, Eh
DLively
Serious User
|
Serious User
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
|
Check under Ambient.
Look up how materials work, and its so simple from there
Last edited by DevoN; 03/28/14 01:20.
|
|
|
|