Page 1 of 1

Slot 0 error

Posted: June 2nd, 2019, 1:12 am
by aslanbey0158
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. :)

Re: Slot 0 error

Posted: June 2nd, 2019, 6:14 am
by albinopapa
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.

Re: Slot 0 error

Posted: June 2nd, 2019, 7:21 am
by chili
Yeah, can't help without a LOT more context. Code being the most pertinent.

Re: Slot 0 error

Posted: June 2nd, 2019, 9:27 am
by aslanbey0158
The File is attached

Re: Slot 0 error

Posted: June 2nd, 2019, 10:06 pm
by albinopapa
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.