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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...