Shades and brushes
BlitzMax Forums/MiniB3D Module/Shades and brushes
| ||
Whenever i apply brushes via PaintSurface the models shade goes away. Here's a shot without the brushes: ![]() And here's a shot with brushes: ![]() Notice how flat everything looks with the brushes applied. How can i keep the dark shades even after applying brushes? |
| ||
Try experimenting with TextureBlend modes. |
| ||
Ok, I guess you mean BrushBlend()?, I've tried all of the modes and they only make things really weird... "multiply" makes everything black... "add" makes everything transparent :S |
| ||
No, TextureBlend - that mesh is textured isn't it? |
| ||
The mesh is built on the spot with AddMesh and all the different surfaces is textured with PaintSurface. |
| ||
The brush still has a texture though. If you're using LoadBrush (which doesn't allow you to get at the texture easily), then try instead using CreateBrush, then using LoadTexture and BrushTexture before using PaintSurface. Set TextureBlend with the loaded texture. |