Questions tagged [sharpdx]

SharpDX is an open-source third-party managed DirectX wrapper.

Filter by
Sorted by
Tagged with
2
votes
3answers
2k views

SharpDX/D3D: How to implement and draw fonts/text

I am playing with SharpDX (Direct3D for .NET) without using "Toolkit", already finished with basic rendering 3D models. But now i am wondering how to program/create fonts for game (2D), or how to ...
2
votes
2answers
461 views

Properly rendering transparent areas of textures

I'm rendering a tree that contains branch meshes with partially transparent textures. If I render it with AlphaTestEffect and set the ReferenceAlpha to something low, I'll get this. I want to render ...
1
vote
1answer
101 views

I don't think my shaders are working, looking for help

Using sharpdx(directx 11) developing on UWP. This is a link to a previous question of not being able to compile the shader files(written in hlsl) How to compile shader files in UWP Later I have found ...
0
votes
1answer
102 views

vertex manipulation in instanced shader hlsl SHARPDX 4.2

[SOLVED] - The project is here https://drive.google.com/open?id=1-kum0phM_iBMc8xRxYShmCNRWRs6W0Aw I am using the same vertex shader and pixel shader for my instances. I am sending ONE FLAT array that ...
0
votes
1answer
2k views

How to print Depth to a Texture2D and then read it in the next pass on a shader in DirectX11

I'm programming a two-pass effect in DirectX 11 (SharpDX). It's supposed to write the depth to a texture in the first pass and then use that texture to extract data on the second one in the pixel ...
0
votes
3answers
620 views

How to compile shader files in UWP

I wish to use this method ...