Sample of logical operations with color buffer