Original Post
Hi people!
I make somthing like 3d action with using OpenGL, but I''ve got problems.
- I can walk through walls
- Problem with textures
help me PLEASE.
----
I tried to check walls by stencil, but I couldn''t find out what is situated in STENCIL_BUFFER
(I drawed a rectangle in front of the camera and tried to check if it''s in the stencil buffer, but I couldn''t)
P.S.: It''s difficult to type on foreign language