Jump to content
  • Advertisement
Sign in to follow this  
gjaegy

D3D10, effects and VS2012

This topic is 2196 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
Maybe you would consider checking which SDK is in your project.

  • June 2010
  • WIndows 8 SDK

    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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!