New answers tagged sharpdx
0
Turns out the issue was not initializing and loading content in the correct order. I am building an engine and had to refactor it to work as a library for Windows 8 apps. When I shuffled some code around I removed some XNA-specific code and put in back in the wrong place.
Here's the basic flow of things:
Constructor
Instantiate GraphicsDeviceManage
Set ...
2
Use Device.UpdateSubresource (requires texture to be declared with Usage.Default) or Map/UnMap (requires texture to be declared Usage.Dynamic).In the case of the swapchain, I guess that only UpdateSubresource will work.
Keep in mind that you are refering to the low level Direct3D11 API in SharpDX, so there can't be any high level methods like "SetData". If ...
0
I fixed the issue myself!
After some more testing I found out that even if the lightmap would make the full scene overbright (just like it would when it was forcefully disabled in the HLSL), it still generated black shadows.
Because of this discovery I went back to my texture declaration:
LightMaps[i] = new Texture(GameHelper.Device, ...
2
Finally figured out why I can't activate IME supports.
Please correct me if my concept is wrong.
In windows 8, the default Input method provided is "TSF".
While referring to the documents from Microsoft, TSF is a service below IME,
which means IME uses TSF to provide Text service.
However TSF support different input "source" ( Voice input, Pen input and ...
Top 50 recent answers are included