Skip to content

spawn-ai125/BASS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’  BASS: Bilinear Adaptive Sharpening System

C++ Platform License

BASS is a high-performance, lightweight spatial image enhancement technology designed to boost frame rates (FPS) and visual clarity in real-time applications without the overhead of Deep Learning or Neural Networks.


⚑ The Philosophy

Built on the principle of "Minimum Interaction, Maximum Performance," BASS bridges the gap between raw performance and visual fidelity. By utilizing mathematical kernels instead of heavy AI models, it achieves sub-millisecond processing times, making it ideal for competitive gaming and resource-constrained systems.

πŸš€ Core Features

  • Zero-AI Latency: Eliminates the tensor processing delay found in traditional DLSS solutions.
  • Spatial Scaling: Advanced Bilinear interpolation that intelligently fills pixel gaps during upscaling.
  • Adaptive Sharpening: A dynamic contrast-aware filter that sharpens edges while minimizing "ringing" artifacts.
  • Ultra-Lightweight: Written in pure C++ with direct Windows API calls, consuming less than 1% of CPU resources.

πŸ›  Technical Mechanics

BASS operates by hooking into the target process's visual buffer and applying a 3x3 Laplacian Kernel.

$$ \text{Pixel}_{out} = \text{Pixel}_{in} + \alpha (\text{Pixel}_{in} - \text{Blur}(\text{Pixel}_{in})) $$

This formula ensures that the image is sharpened only where detail is lost, preserving the natural look of the game while operating at a much higher FPS than native resolution.

πŸ“¦ Installation & Usage

  1. Clone the Repository:
    git clone [https://github.com/spawn-ai125/BASS.git](https://github.com/spawn-ai125/BASS.git)
  2. Compile: Use any C++17 compliant compiler (MSVC/MinGW).
    g++ BASS.cpp -o BASS.exe -lgdi32 -luser32

About

Bilinear Adaptive Sharpening System - Non-AI Spatial Upscaler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages