Hi everyone
This is my first ask for help in this forum.
This is my problem: I’m using a 3D model generated with Plant Life, this model has a .png texture. I used the dbSetAlphaMappingOn and the dbGhostObjectOn, with this commands the 3D model makes the .png texture transparent in the places it is supose to be transparent, that´s OK. But, when the camera gets near the object the FPS drops down dramatically from 75 FPS TO 37 FPS. How can I avoid this FPS drop? Is there another way to import an .X model with transparent .png texture in Dark GDK?
Im using the dbSetWindowOff(); command.
Here´s the code of how im importing the .x model in the game.
dbLoadObject ("fern1.X", 300);
dbRotateObject (300 ,0 , 0 , 0 );
dbSetAlphaMappingOn ( 300,100 );
dbGhostObjectOn ( 300,6);
dbPositionObject (300,30000,420.0f,49000);
dbScaleObject (300,1000,1000,1000);
please help!