How to remove Chroma Key in sprites in DirectX?

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
WilsonHuang
Posts: 44
Joined: February 13th, 2019, 3:23 am

How to remove Chroma Key in sprites in DirectX?

Post by WilsonHuang » November 10th, 2021, 9:37 am

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?
Attachments
screenshot.png
(23.43 KiB) Not downloaded yet

WilsonHuang
Posts: 44
Joined: February 13th, 2019, 3:23 am

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

Post by WilsonHuang » November 13th, 2021, 12:18 pm

I solve it with inheritance features

Post Reply