Blender Git Loki
Git Commits -> Revision ba345bc
Revision ba345bc by Antonis Ryakiotakis (master) August 12, 2014, 11:49 (GMT) |
Fix T41414, T41386. There were a few issues to fix here: * We did not really unpremultiply float image dabs prior to sending them to the GPU. That made float and byte image result different in texture painting and undoing could change the result. * To make textures nicely composited over the mesh, I used decal mode in OpenGL texture environment for the texture unit. This uses the texture's alpha channel with a nice over operator. * Texture creation used to override the alpha setting due to the display restrictions. Not so anymore, people can now create transparent byte images. Also, made alpha zero default for new textures now, since it has such a nice effect here. |
Commit Details:
Full Hash: ba345bcbb6de5f32ba8ae3e9666077c707d10764
Parent Commit: 794277f
Lines Changed: +13, -21