Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Using SharpDX.Toolkit.Effect classes as shader replacement


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
4 replies to this topic

#1 BlackJoker   Members   -  Reputation: 555

Like
0Likes
Like

Posted 09 August 2014 - 12:06 PM

SharpDX has highlevel effect API to work with shaders to replace HLSL in C++ DX version.

 

So, I want to ask someone to post or provide link for at least 3-4 Effect samples which aplies to D3D and D2D. Or just write it here if you can.

I want to see:

 - how to set/get values to/from shader?

 - how to write shader code and compile it?

 - how to create make different simple effects?

 

Could someone be so kind to help me with this? I am only start to learn SharpDX. I see sharpDX samples already, but there is almost nothing about effects API. Just on basic level to display something. I am interested in a little bit more complex examples with Direct3D.



Sponsor:

#2 BlackJoker   Members   -  Reputation: 555

Like
-1Likes
Like

Posted 12 August 2014 - 12:48 PM

Thanks for real help to all *sarcasm*

I found this site http://rbwhitaker.wikidot.com/hlsl-tutorials useful as it desribed Effect API and shaders which are almost identical to SharpDX Effect API.


Edited by BlackJoker, 13 August 2014 - 05:48 AM.


#3 lwm   Members   -  Reputation: 1471

Like
0Likes
Like

Posted 13 August 2014 - 08:59 AM

Thanks for real help to all *sarcasm*

 

What did you expect? Few people are going to sit down and write multiple samples just for you without even knowing what parts of the API you're struggling with.

 

The toolkit folder in the samples repository for SharpDX contains multiple samples that use custom effects. For example: CustomEffect, SpriteBatchCustomEffect and StreamOutParticles. What part of the API do you need more info on?


current project: Roa


#4 BlackJoker   Members   -  Reputation: 555

Like
0Likes
Like

Posted 14 August 2014 - 01:13 AM

 

Thanks for real help to all *sarcasm*

 

What did you expect? Few people are going to sit down and write multiple samples just for you without even knowing what parts of the API you're struggling with.

 

The toolkit folder in the samples repository for SharpDX contains multiple samples that use custom effects. For example: CustomEffect, SpriteBatchCustomEffect and StreamOutParticles. What part of the API do you need more info on?

 

 

All that effects are D2D. As I wrote, there is no D3D Effects even in samples. So, exactly about this part I wrote.

Why you react so painfully? You don`t like sarcasm? I already wrote that I found what I want (more or less). and BTW no need to wrote samples just for me - this would be helpful for lot of people, but if you think that current situation with samples is ok - you wrong.

DX 11 is 5 years old and even now there is not enought normal tutorials for learning it fully. Only 2-3 books and 20-25 samples, which describes only small part of DX possibilities (not fully).

 

So, rather than complain, would be better to help remedy the situation and if you don`t want to do this, just don`t write "clever" posts.



#5 lwm   Members   -  Reputation: 1471

Like
0Likes
Like

Posted 14 August 2014 - 01:45 AM


All that effects are D2D. As I wrote, there is no D3D Effects even in samples.

 

All three of the samples I listed use D3D11 - because that's what the SharpDX Toolkit uses.

I did try to remedy the situation. I wrote the StreamOutParticles sample last year because I couldn't find a sample for how to use the Stream-Output Stage with the Effects framework.


current project: Roa





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