All Projects → butterw → bShaders

butterw / bShaders

Licence: other
Video playback Effects/Filters (DirectX .hlsl pixel shaders, mpv .hook)

Programming Languages

HLSL
714 projects
GLSL
2045 projects
python
139335 projects - #7 most used programming language
Batchfile
5799 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to bShaders

DrawSpace
Space-game oriented rendering engine
Stars: ✭ 20 (-31.03%)
Mutual labels:  shaders, hlsl
Unity Shaders
✨ Shader demo - More than 300 examples
Stars: ✭ 198 (+582.76%)
Mutual labels:  shaders, hlsl
Reshade
A generic post-processing injector for games and video software.
Stars: ✭ 2,285 (+7779.31%)
Mutual labels:  shaders, hlsl
Hlsl To Ispc
HLSL-to-ISPC Utility Library
Stars: ✭ 37 (+27.59%)
Mutual labels:  shaders, hlsl
Urp Lwrp Shaders
A Collection of Shader For URP(LWRP) Render Pipeline
Stars: ✭ 252 (+768.97%)
Mutual labels:  shaders, hlsl
3d Game Shaders For Beginners
🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Stars: ✭ 11,698 (+40237.93%)
Mutual labels:  shaders, hlsl
Spirv Vm
Virtual machine for executing SPIR-V
Stars: ✭ 173 (+496.55%)
Mutual labels:  shaders, hlsl
Shadergen
Proof-of-concept library for generating HLSL, GLSL, and Metal shader code from C#,
Stars: ✭ 395 (+1262.07%)
Mutual labels:  shaders, hlsl
Alloy
Alloy physical shader framework for Unity.
Stars: ✭ 244 (+741.38%)
Mutual labels:  shaders, hlsl
Shadered
Lightweight, cross-platform & full-featured shader IDE
Stars: ✭ 3,247 (+11096.55%)
Mutual labels:  shaders, hlsl
Lwks Fx Bundle
Synced user effects pack
Stars: ✭ 21 (-27.59%)
Mutual labels:  shaders, hlsl
Anime4K
Makes it easy to encode a Anime using Anime4K with predefined encoding profiles!
Stars: ✭ 61 (+110.34%)
Mutual labels:  shaders, mpv
Slang
Making it easier to work with shaders
Stars: ✭ 627 (+2062.07%)
Mutual labels:  shaders, hlsl
Hlslexplorer
See how hardware understands your HLSL
Stars: ✭ 91 (+213.79%)
Mutual labels:  shaders, hlsl
Hlsl2glslfork
HLSL to GLSL language translator based on ATI's HLSL2GLSL. Used in Unity.
Stars: ✭ 488 (+1582.76%)
Mutual labels:  shaders, hlsl
Hlslpp
Math library using hlsl syntax with SSE/NEON support
Stars: ✭ 153 (+427.59%)
Mutual labels:  shaders, hlsl
DLAA
(DLAA) Directionally Localized antiAliasing
Stars: ✭ 18 (-37.93%)
Mutual labels:  shaders, hlsl
YOLOv4-Tiny-in-UnityCG-HLSL
A modern object detector inside fragment shaders
Stars: ✭ 38 (+31.03%)
Mutual labels:  shaders, hlsl
Universalshaderexamples
Sand box project containing example shaders and assets compatible with Unity Universal Render Pipeline.
Stars: ✭ 207 (+613.79%)
Mutual labels:  shaders, hlsl
Dxbc2Dxil
DEPRECATED. DXBC to DXIL (HLSL Bytecode to LLVM IR) using internal APIs.
Stars: ✭ 21 (-27.59%)
Mutual labels:  shaders, hlsl

bShaders

Effects/Filters for video playback This project aims at providing shaders (DirectX .hlsl or mpv .hook glsl files), tools and comparison screenshots for realtime video Effects. The focus is on best implementation (and tuned parameter settings) of lightweight gpu shaders.

Shaders tested on MPC-HC video player (EVR-CP Dx9) on integrated graphics. https://www.videohelp.com/software/Media-Player-Classic-Home-Cinema MPC-HC enables hardware-accelerated playback of local and internet videos without requiring the installation of additional codecs.

Mpv is an open-source cross-platform video player: https://mpv.io/installation/ how to use shaders in mpv: https://forum.doom9.org/showthread.php?p=1926639#post1926639

Effects:

  • Pixelate (Mosaic)
  • Edge detection (in Luma): Sobel, Prewitt, Frei-Chen
  • FilmGrain/Noise (bNoise.hlsl lightweight additive noise pixel shader and others)

Blur:

  • Single-pass gSmooth (Gaussian Blur 3x3, hw.3)
  • Multi-pass (Gaussian 7-tap, hw.5, hw.9, quarter-frame hw.9, Kawase, Dual-Kawase, BoxBlur(3x) with adjustable size)
  • Blurred pillarbox borders (fill_bb.avs avisynth script)

Art/Style Effect for Video content (vs Film):

  • Dots
  • CrossHatch
  • bStipple comic book style
  • bSobel_Edge: grayscale Sobel Edge detection + saturated color to achieve a cartoon effect

Tools:

  • barMask (Custom Border Masks + frame shift) ...Quadri-Frame 2x2 visualization, ex: ROGB or separate grayscale RYGB components
  • bStrobe (Time-based Effect)
  • test_linearSampling (test whether Hardware Linear Sampling (hw) is working in player/gpu-driver): ...it works in mpv but not in mpc-hc/be !
  • test_LimitedRange (limited range tools using Avisynth and ffmpeg) ...bHighL.hlsl (out-of-range pixel highlighting)

Mpv:

  • NoChroma.hook (Grayscale source shader)
  • simple examples for embedded textures and compute shaders

See also my shader gists: https://gist.github.com/butterw


basic intro about hlsl/glsl pixel shaders here: https://forum.videohelp.com/threads/397797-Pixel-shaders-for-video-playback-%28-hlsl%29

Unofficial video player shaders guide: https://forum.doom9.org/showthread.php?t=181584

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].