morganbengtsson / mos

Lightweight game engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix opacity/foliage rendering

morganbengtsson opened this issue · comments

Rendering with opaque materials is quite sketchy at the moment. Foliage materials should either discard transparent pixels or use GL_SAMPLE_ALPHA_TO_COVERAGE. Other transparent materials should not.