The effect of shader occlusal occlusion in WPF?

I think this is a frequent question.

I can import the 3D model into my WPF application, but how to apply the shader effect of the ambient occlusion? I know that with .NET 3.5 SP1 you can do custom effects, but limited to pixel shaders and not including vertex shaders.

I think I can do this with an XNA application, but Im not familiar with XNA, so the second question is: How different are WPF and XNA? I don't seem to have the concept of XAML in XNA. How much overclocking will move from WPF to XNA?

Thank you, Chris

+3
source share
2 answers

To answer the second question:

WPF and XNA are completely different. They share the following:

  • Built on .net
  • Use DirectX

XNA ( XBOX-360), WPF -. , XNA XAML, .net DirectX.

+4

, , , XNA. XNA API , , , . XNA tutorials.

WPF, XNA , .

, ?

+3

Source: https://habr.com/ru/post/1699068/


All Articles