Sign in to follow this  
gjaegy

D3D10, effects and VS2012

Recommended Posts

gjaegy    126
I am very confused at the moment, I have switched to visual studio 2012.

I am using speed tree, which relies on the effect library. I am using D3D10.

I can successfully compile the effects using D3DCompile() and the "fx_4_0" profile.

However, now D3D10CreateEffectFromMemory() doesn't like the compiled effect anymore, and return E_FAIL. I have no other information but this error code.

I had a look at the Effects11 library, but it requires a ID3D11Device.

Any idea ?

Share this post


Link to post
Share on other sites
gjaegy    126
I should add that I have also tried D3D10CompileEffectFromMemory(), however I get another error (NOT_IMPL), so I guess this one is not implemented...

Share this post


Link to post
Share on other sites
kubera    1587
Maybe you would consider checking which SDK is in your project.[list]
[*]June 2010
[*]WIndows 8 SDK
[/list]
They would be a bit different, because Microsoft has decided that some API functions are legacy.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this