Blender Git Commit Log

Git Commits -> Revision 749f346

Revision 749f346 by Porteries Tristan (master)
July 3, 2015, 17:03 (GMT)
BGE: Add alpha to coverage render mode.

This patch add a new option for transparency meshes : Alpha to coverage, in the game setting panel in material.
The alpha to coverage request a multisample, the best is 8x but 4x and 2x can also give nice render.

4x alpha clip : http://www.pasteall.org/pic/show.php?id=89464
4x alpha to coverage : http://www.pasteall.org/pic/show.php?id=89463

Reviewers: moguri, kupoman, campbellbarton, psy-fi

Reviewed By: psy-fi

Subscribers: lordloki, rdb

Projects: #game_engine

Differential Revision: https://developer.blender.org/D1354

Commit Details:

Full Hash: 749f346ce077f9616a47c03cac03f8537274efc4
Parent Commit: c503d17
Lines Changed: +15, -2

4 Modified Paths:

/source/blender/gpu/GPU_material.h (+2, -1) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+10, -1) (Diff)
/source/blender/makesdna/DNA_material_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021