Code: Select all
D3DXPreprocessShaderFromFile()
you then pass this new version to
Code: Select all
D3DXCreateEffectCompiler()
Code: Select all
D3DXPreprocessShaderFromFile()
Code: Select all
D3DXCreateEffectCompiler()
I've worked on many games and one of the biggest headaches is always alpha sorting.I'm surprised that a special development is needed because we see quite often in games semi-transparent objects such as cars or even wire fencing..