Before Point light i get Slot 0 error too. Video (24.2) (after space bar,it occurs)
I applied "alignas(16)" somewheres but i couldnt solve the problem.
i know i am headache on your head, but i cant do anything.
Slot 0 error
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Slot 0 error
Share code or it didn't happen. Easiest way is through GitHub, but you can also upload a zip file of the project minus the .vs, Release and Debug and x64 folders.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
-
- Posts: 52
- Joined: April 15th, 2017, 10:48 am
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Slot 0 error
Ok, the key clue is in the error message window. It says that the PixelShader is expecting a sampler and none has been bound. If you step through the debugger, you'll see that this is indeed the case.
I would first look through the SkinnedBox constructor and see if you forgot to include the ID3D11SamplerState bindable.
I would first look through the SkinnedBox constructor and see if you forgot to include the ID3D11SamplerState bindable.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com