|
Library Shader Rendering Issue
#433845
12/07/13 21:11
12/07/13 21:11
|
Joined: Sep 2007
Posts: 173 USA, Florida
3dworld
OP
Member
|
OP
Member
Joined: Sep 2007
Posts: 173
USA, Florida
|
Hi guys, I'm working in a project and I'm using mtl_specBump from the default shader library for my block walls but after I compile the game I'm getting some weird effects. Basically, if I'm standing in facing one direction the shader displays well but then if I turn a few degrees to the left or the right is like if the shader disappear, or sometimes the wall shows white. I have no clue what could be happening. Please take a look at the picture below to see what I'm referring to. Any help/advice is more than welcome: 
No matter what people tell you, words and ideas can change the world.
|
|
|
Re: Library Shader Rendering Issue
[Re: Superku]
#433852
12/07/13 21:43
12/07/13 21:43
|
Joined: Sep 2007
Posts: 173 USA, Florida
3dworld
OP
Member
|
OP
Member
Joined: Sep 2007
Posts: 173
USA, Florida
|
What about if I have more than 3 lights in the room but only 1 is affecting that surface. Will that cause the issue too?
No matter what people tell you, words and ideas can change the world.
|
|
|
Re: Library Shader Rendering Issue
[Re: Kartoffel]
#433897
12/08/13 16:53
12/08/13 16:53
|
Joined: Sep 2007
Posts: 173 USA, Florida
3dworld
OP
Member
|
OP
Member
Joined: Sep 2007
Posts: 173
USA, Florida
|
If I use only 3 lights is renders fine, but if I add a 4th light then problem appears again.
No matter what people tell you, words and ideas can change the world.
|
|
|
Re: Library Shader Rendering Issue
[Re: 3dworld]
#433914
12/08/13 22:00
12/08/13 22:00
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
As I've written above: mtl_specBump only supports 3 lights,[...] See: http://www.conitec.net/beta/amaterial2.htmYou can of course try to change the shader and add more lights (you will probably then need to use PS3.0 instead), or alternatively do what I've said in my previous post.
"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
|
|
|
|