Page 1 of 1

How to remove Chroma Key in sprites in DirectX?

Posted: November 10th, 2021, 9:37 am
by WilsonHuang
I am following Chili's C++ 3D DirectX Programming series (at 24.3) and adjust the engine to make it become 2D
I'm trying to draw sprites and remove the chroma key, but I don't know how to do it.
In Intermediate Tutorial 11 Chili remove chroma key without touching DirectX API
How to do it integrated with DirectX API
Do I need to adjust my HLSL Pixel Shader or implement it in C++ code?

Re: How to remove Chroma Key in sprites in DirectX?

Posted: November 13th, 2021, 12:18 pm
by WilsonHuang
I solve it with inheritance features