Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

D3D10, effects and VS2012

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 gjaegy   Members   

126
Like
0Likes
Like

Posted 07 December 2012 - 06:20 AM

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 ?
Gregory Jaegy[Homepage]

#2 gjaegy   Members   

126
Like
0Likes
Like

Posted 07 December 2012 - 06:50 AM

I should add that I have also tried D3D10CompileEffectFromMemory(), however I get another error (NOT_IMPL), so I guess this one is not implemented...
Gregory Jaegy[Homepage]

#3 kubera   Members   

1570
Like
0Likes
Like

Posted 08 December 2012 - 03:44 PM

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.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.