Blender Git Commit Log
Git Commits -> Revision ad0c2d6
Revision ad0c2d6 by Sergey Sharybin (master) August 25, 2015, 16:12 (GMT) |
Fix T45789: Materials with transparency not properly rendered in viewport in Material Render mode This is a bit tricky one -- ideally viewport should detect whether alpha is used in the shader tree and if so do separate viewport pass for that objects. But in practice it's really tricky to detect whether alpha is affected by shader or not without evaluating the tree for all possible input values. We also can't assume that alpha might always be affected because it'll slow viewport drawing down. For until some smart solution is found simply expose alpha blending mode used by the viewport. It could be found below the Viewport Color settings. |
Commit Details:
Full Hash: ad0c2d6cbb99aa70ae30b072ac6724a151debe85
Parent Commit: 79af9b1
Lines Changed: +5, -1
1 Modified Path:
/intern/cycles/blender/addon/ui.py (+5, -1) (Diff)