1 registered members (AndrewAMD),
1,135
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Are view entities no longer affected by sunlight?
[Re: Redeemer]
#394317
02/11/12 20:14
02/11/12 20:14
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
The difference is that sun's variables don't get set.
Did you try: -sun_color -sun_light -sun_angle
Did you ensure the view entities material is mtl_model?
Always learn from history, to be sure you make the same mistakes again...
|
|
|
Re: Are view entities no longer affected by sunlight?
[Re: Redeemer]
#394377
02/12/12 16:13
02/12/12 16:13
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
Why don't you apply a shader then? This diffuse lighting shader should be pretty much like the default mat_model material: http://www.conitec.net/shaders/shader_work2.htmYou may/ certainly have to replace the sun vectors and variables with custom vectors (that you declare and set in your script).
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
Re: Are view entities no longer affected by sunlight?
[Re: Superku]
#394380
02/12/12 16:34
02/12/12 16:34
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
He could use the predefined vectors as well, can't he? He just had to transform them to screen space before, right?
Always learn from history, to be sure you make the same mistakes again...
|
|
|
|