Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Texture rendering in old VDrift version
08-17-2017, 11:35 AM, (This post was last modified: 08-17-2017, 11:35 AM by NaN.)
RE: Texture rendering in old VDrift version
(08-16-2017, 11:32 AM)lucifesta Wrote: ...
One thing I learned is that if alpha is set to lover then 0.7 (30% transparency) the texture is not rendered at all. On the other hand using the same texture and making the same change for the latest version of code renders with the greener color but completely ignores the alpha setting.
If you would like to have the edited texture let me know and I can post it.
My issue is solved, and once again thanks for the help.

Sure, feel free to share it.

Btw for opaque objects vdrift uses alpha testing which will discard anything with alpha below certain value. This might have had an unintended effect here.

For performane it might be better to have a separate alpha test draw group. Although I haven't tested how much difference it would make.

Messages In This Thread
RE: Texture rendering in old VDrift version - by NaN - 08-17-2017, 11:35 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)