Skip to main content
Share Your Experience: Take the 2024 Developer Survey
12 votes
Accepted

Should I be worried about reverse engineering revealing secrets?

If players are digging through your game's code looking for secrets, it's already a success Fundamentally, if players are spending the time hunting for the secrets in your game, it means that they are ...
Arcanist Lupus's user avatar
4 votes

OpenGL strange depth testing

A minor "oopsie", I had set the near Z to -200.0 initially, causing ripple effects apparently, as it seems. With near Z set to a positive (0.1), it now renders and culls correctly. Result of ...
Valtsuh's user avatar
  • 89
1 vote
Accepted

how to pass result of Compute Shader using UAV to Target View and render it in Direct3D11?

okay so after a lot of searching, head scratching and asking around I found the problem. by calling OMSetRenderTargets() I wasn't rendering anything. actually I was ...
NotAlfred's user avatar
1 vote

Update index buffer in Vulkan at run-time

Most basically, you'd need to set a fence/other synchronization to make sure that the index buffer isn't being used, then map it (vkMapMemory), copy any changes over, then unmap it.
CobaltHex's user avatar
  • 2,248
1 vote

Sprite goes slow with some keys while withh others faster

You're checking for "key press" events. This means your movement is tied to the operating system's keyboard repeat speed. Unless, for some reason, you specifically want this behavior, you ...
Mark's user avatar
  • 353
1 vote

Custom matrix structure with OpenGL shaders

Alright, so I managed to boil it down to types, the MAT4 (double) didn't work, so I made another structure MAT4F for floats and ...
Valtsuh's user avatar
  • 89
1 vote

OpenGL texture not working

As an answer / solution to my own question, where it firstly wen't wrong was mismatches between gl calls, eg. I had glEnable(GL_TEXTURE_2D), but no ...
Valtsuh's user avatar
  • 89
1 vote

How do I check if a window has focus in SDL2?

To answer the title question "How do I check if a window has focus in SDL2?": ...
idbrii's user avatar
  • 828

Only top scored, non community-wiki answers of a minimum length are eligible