Need help with two problems. Alpha and light

Hi,
as mentioned I have two problems. To make it easier for you to see what’s wrong I have attached two pictures.
The first problem is my house which has a wooden construction inside it and that is what you can see throug the roof. Why is that? It’s only when the “sun” light is behind you.
The next one is a model which alpha channel isen’t working right. It’s like the front of the models isen’t rendered if there is a alpha texture behind. What do I do about that?

-Lasse


Did you update to 10.5.3? I ran into the first issue myself last night. It only happens when you have shadows turned on for the light. I believe this is related to the other shadowing artifacts introduced in the some of the 10.5.3 video drivers, for which there is supposedly a fix in the works from Apple in development.

I really have no idea on the second issue, make sure the normals on those polys are facing the correct direction.

The normals do point the right way, and in max it looks as it should. So I’m thinking that I am using a wrong material or something?

What is it you suggest me to update? Is it my graphics card?

-Lasse

Dunno if fits your case but i had problems with alpha described in this tread: http://forum.unity3d.com/viewtopic.php?t=8443&start=0&postdays=0&postorder=asc

and this

http://forum.unity3d.com/viewtopic.php?t=9472&highlight=alpha+channel

maybe the same solution fit you.

Ok, the first problem was some thing to do with what material I applied. Just had to use:Transparent/Cutout/VertexLit. And now it looks like it should.

Been playing around with the other problem and it has some something to do with the camera and the near clipping plane. So I think the only solution to this problem is to make the player able to look through walls? It just doesn’t seem like the best solution. Anyone has another solution.
-Lasse

First, on what OS and graphics card do you see this?

I am not sure what is the exact problem in the second image. Is it that the “inside” of the wooden objects are visible?

What are the values of near far clipping planes on your camera?

The problem is the wooden structure on the inside of the roof is visable.

I’m on a Imac with a ATI Radeon HD 2600 XT. The problem is only when I’m in windows (vista). It is a webplayer.
I have tried the near cliping plane and it helped a bit. But I can’t use that solution due to the fact that the player then can see through walls.

Still haven’t found a solution to my problem. I have been playing around with different materials, turning shadows of, increased and decreased clipping plane in camera and nothing is working for me… I have seen some others with the same kind of problem posting on this forum, did you guys find a solution?
-Lasse

Ok, so this only happens on Windows?

It could very well be fixed in Unity 2.1 soon…

Yes, it’s only windows that has the problem. So when you say soon are you talking days, weeks or months?

And is there a solution to the problem that you know of?

-Lasse

We’re nearing towards the end of 2.1 testing cycle. So it’s probably weeks, but might be months as well (unpredictable things always happen).

It was a fault in my code, like I wrote in the linked blog post above. In short, too large depth bias was applied in Direct3D.