automated snapshot
This commit is contained in:
@@ -129,11 +129,11 @@ func (s *Sketch) Draw(ctx *RenderCtx) {
|
||||
|
||||
rl.BeginBlendMode(rl.BlendAlphaPremultiply)
|
||||
rl.BeginTextureMode(s.composite)
|
||||
rl.ClearBackground(rl.Black)
|
||||
rl.ClearBackground(rl.Blank)
|
||||
//rl.ClearBackground(rl.Black)
|
||||
for _, instance := range s.layerToolsOrdered {
|
||||
config := instance.config
|
||||
if config.visible {
|
||||
/*
|
||||
var r uint8 = 0
|
||||
if config.rVisible {
|
||||
r = config.r
|
||||
@@ -146,8 +146,7 @@ func (s *Sketch) Draw(ctx *RenderCtx) {
|
||||
if config.bVisible {
|
||||
b = config.b
|
||||
}
|
||||
*/
|
||||
tint := rl.NewColor(config.a, config.a, config.a, 255)
|
||||
tint := rl.NewColor(r, g, b, config.a)
|
||||
rl.DrawTexturePro(instance.texture.Texture, src, dst, rl.Vector2{}, 0, tint)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user