GPUOpen-Effects / TressFX

DirectX 12 and Vulkan libraries that provide convenient access to realistically rendered and simulated hair and fur
MIT License
766 stars 129 forks source link

Implementing TressFX in DX11 #50

Open panthuncia opened 1 year ago

panthuncia commented 1 year ago

TressFX provides sample implementations of TressFX 4.1 in DX12 and Vulkan. I am aiming to implement either 4.0 or 4.1 in an existing DX11 engine, however the TressFX 4.0 implementation, while technically DX11, is opaque due to the fact that it is implemented to interface with a closed-source engine for some reason (Sushi). While the documentation for 4.1 does not explicitly mention DX11, it also does not indicate that support for DX11 has been completely dropped. Would implementing TressFX 4.1 in DX11 be doable by porting DX12EngineInterfaceImpl.cpp to DX11, or is there a hard incompatibility between DX11 and TressFX 4.1?

Additionally, are there any existing code snippets or open-source projects that might help with getting started implementing TressFX 4.0 with raw DX11, rather than one that relies heavily on the closed-source Sushi DLLs?

Thanks!