🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Advertisement

Latest SharpDX Activity

I tried: 

RenderInitialize(){
	DirectInput InputManager = new DirectInput();
}
RenderLoop(){
	Mouse mouse = new Mouse(InputManager);
	MouseState mouseState = new MouseState
	mouse.Acquire();
	mouse.getCurrentState(ref mouseState);
	Console.WriteLine("X: " + mouseState.X + " Y: " + mouseState.Y)…
5,114 views
Advertisement

I have a bmp and I want to texture a mesh with it.I calculated the uvs for the mesh and sent them to vertex shader.I have no idea how to take the data from.bmp file and send it to pixel shader.
 

Bitmap bitmap = new Bitmap(texturePath);

The vertexShader.hlsl:

#pragma pack_matrix( row_major )
cbuff…
3,348 views

Hi, Im using Directx11 with SharpDX, i was trying to use Visual Studio's graphics debugger to improve performance on my shaders but couldn't get it to work. Whenever i start it the graphs don't move and if i try to capture a frame it just loads forever. I tried creating Device with Debug flag or us…

3,408 views

if you are 100% sure that your parameters are correct then it could be that the feature you are trying to use isn't supported by your hardware;

if your parameters are not correct, weeeell… you need to fix them, i'm not sure your post has enough info to help…

all the best ?

3,324 views
Advertisement
Advertisement