Jump to content

  • Log In with Google      Sign In   
  • Create Account

SharpDX, DX11.1


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 ThomasJones77   Members   -  Reputation: 127

Like
0Likes
Like

Posted 04 February 2014 - 10:48 PM

Hello,

 

Can anyone please post code or direct me to an example of soft shadows or shadow mapping using DX11.1 with C#?  I'm trying to implement good shadows in a game for Windows Store using SharpDX Toolkit.  Any SharpDX example will do.  For days I have been trying to convert C++ examples but I have trouble understanding and trying to convert them to C#.  Also, XNA examples do not seem relevant for a Windows Store game and are still not that easy to convert.

 

Thanks,

 



Sponsor:

#2 RnaodmBiT   Members   -  Reputation: 696

Like
0Likes
Like

Posted 05 February 2014 - 04:32 AM

Hi

 

You probably want to break it down into smaller steps to make it easier to use things like Google to help you find useful results. 

 

The general processes to look for are:

Texture Creation

Render To Texture

Writing depth values from a pixel shader

Projective texturing

 

I might recomend Reimers XNA tutorial on HLSL shadows. It is for XNA but it does describe the last two processes very nicely. Texture Creation and Render to Texture should be well documented in the SharpDX documentation.



#3 SecondaryNeeded2   Members   -  Reputation: 101

Like
0Likes
Like

Posted 07 February 2014 - 09:02 AM

I feel your pain.  I came across this thread because I have been looking for some examples for a while and have found none whatsoever. I understand most of the concepts of shadow mapping but it would be helpful to see those concepts in code example form that I can run and debug using the toolkit for win 8 store game.  I tend to learn best based on examples.  I will post code if I find an example or am able to implement it in the toolkit.






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.



PARTNERS