Jump to content

what is this line?


Lion.Kanzen
 Share

Recommended Posts

;

Replace alpha-blending with alpha-testing, for performance experiments

forcealphatest = true

i set "true" and the game performs better XD, thank you, that get a game improved gameplay don't lag and run normal, with a bit lag. but thank you this game every day are more playable. the next release a i swear post in Taringa the most huge community online from Latin-america.

Link to comment
Share on other sites

what is this line?

See this Philip's post for explanation, this part is most related:

The most useful new material (and what prompted me to work on this) would be one that uses alpha-testing instead of alpha-blending: that is, it has a texture with a 1-bit alpha channel and every rendered pixel is either fully opaque or fully transparent. (The image here gives an example - compare the sharp edges of the tree on the left, vs the softly faded edges of the tree on the right). That means you avoid all the ordering problems of semi-transparent blending, so performance can be much better. If we could use that for most of the game's vegetation, framerates should improve significantly.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...