Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / transparency issue

Author
Message
Caveman1985
15
Years of Service
User Offline
Joined: 16th Nov 2010
Location: Germany
Posted: 17th Nov 2010 21:38
Hello Everybody! I've been using FPSC for a short time now and so far I have been able to overcome all my problems and questions with the help of this great forum. Until now. I wanted to created something like a lawn and felt that only using a grass texture for the floor was boring. I wanted to have 3d grass like some recent games are using. So i created a 3d object which was basically a floor tile with vertical textures of gras blades on it. It seemed like a good compromise of speed and "beauty". however when i tried it out, the transparency didn't look right with white lines and outlines on the textures (see screenshot 01).
Caveman1985
15
Years of Service
User Offline
Joined: 16th Nov 2010
Location: Germany
Posted: 17th Nov 2010 21:53
I tried fiddling with the .fpe file and the texture to no avail. Finally I thought I had found the solution. I made my grass object a segment and it looked exactly as it should (see screenshot 2)! I thought I had it. I would use an entity as the floor and put the grass segment on top of it, making it walk-through-able. That last point however proved impossible to do. If there is a way to make segments non-solid, I havent found it. So I guess my questions are: (1) is it possible to fix the texture if I use the grass as an entity or (2) is it possible to make the grass as a segment walk-through-able?

I hope You guys can help me! Looking forward to your replies!


Kind regards
Nbt
16
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 18th Nov 2010 11:18
Saving the texture as DXT5 .dds and using transparency = 2 in the .fpe should solve your white outlines.

Caveman1985
15
Years of Service
User Offline
Joined: 16th Nov 2010
Location: Germany
Posted: 18th Nov 2010 15:22
Nbt, thank you so much! You were right, it worked perfectly! I didn't even know i could do "transparency = 2"! Do you know if there exists a list with all the fpe, fps commands?

Caveman
Caveman1985
15
Years of Service
User Offline
Joined: 16th Nov 2010
Location: Germany
Posted: 19th Nov 2010 02:05
Okay, I'm afraid, it didn't work. The entity looked good in static mode. unfortunately I need to turn off collision so you can walk through the grass and static mode doesn't support scripts. So the entity has to be dynamic for me to use the coloff.fpi. But in dynamic mode nothing has changed. The effect is still the same way you see it in screenshot 01. Is there any way to turn collision off in static mode? Please help!

Login to post a reply

Server time is: 2026-07-03 10:58:21
Your offset time is: 2026-07-03 10:58:21