Author Topic: Problem with transparent textures  (Read 1417 times)

Offline bionicoz

  • byte
  • *
  • Posts: 10
    • View Profile
Problem with transparent textures
« on: April 22, 2011, 10:09:12 am »
Hi.
I load a simple .3ds model with textures. I set the the transparency on the model with obj.setTransparency(quitehighvalue).
seems to work, but i have this behaviour:



Am I doing something wrong?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11985
    • View Profile
    • http://www.jpct.net
Re: Problem with transparent textures
« Reply #1 on: April 22, 2011, 01:35:10 pm »
Don't make the house transparent at all or otherwise, you'll get sorting errors like your screenshot shows them. There are a few threads floating around here that explain this in more detail.

Offline bionicoz

  • byte
  • *
  • Posts: 10
    • View Profile
Re: Problem with transparent textures
« Reply #2 on: April 22, 2011, 02:48:30 pm »
Importing in two separate Object3D worked. But is that the only solution?
I'll look for the threads, btw. Ty, as always.