Both seems to be HLSL shader language, but what is the difference between them?
Does it matter to change .hlsl extension to .hlsli, or vise versa?
One of the article I found says that .hlsli file is not going into compilation, is it correct? (Too few articles talking about .hlsli, not confident about this...)
Is it good to go with only .hlsli file, or there should always be some .hlsl files?
It would be appreciative if anyone could tell the same/difference between them, and their usage as well. Thanks.
.hlsl is a shader file (contains the shader declaration) while .hlsli is an include file (contains only declarations and macros, no actual shader structure)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With