Reputation
3,210
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 10 20
Newest
 Excavator
Impact
~60k people reached

18h
answered Problem with ID3D11DeviceContext::CopyResource method - How to properly read a texture CPU-side?
Aug
15
comment What algorithm is used to select a voxel (from a player's perspective)?
Could you please make the answer more standalone. Link-only answers inevitably are rendered useless by servers and pages going away.
Aug
15
comment Approximating strength and hardness of alloys
Is your goal a mechanic that is fun, or one that simulates reality to some extent? Those two goals are often exclusive.
Aug
14
comment GLSL shaders work when hardcoded, not when loaded from file
This is not worthy of a full answer, but eof() isn't true until a failed operation has been made at the end of the file. As such, you're doing one append too much, with a string that may not contain what you desire. Consider testing the success of the extraction operation itself, while (std::getline(..)) { .. }
Aug
13
comment C++ struct doesn't align correctly to a pixel shader cbuffer
@PinkTurtle In the original buffer definition, skyBoxRotateAround lives in cb[16].xyz and orbitTrapsEnabled would reside in cb[16].w. As the types differ and constant buffer contents go through no value translation, mapping in a float4 would result in a rather meaningless .w swizzle.
Aug
13
revised C++ struct doesn't align correctly to a pixel shader cbuffer
legend
Aug
13
answered C++ struct doesn't align correctly to a pixel shader cbuffer
Aug
10
comment How can I interpret NSF (Nintendo Sound Format) data as audio?
The size of a NES game is measured in kilobytes, sampled audio was very rare and only used for special special effects that couldn't be produced by synthesis. In many games, you'll see particular channels of the music dropping out to provide a channel in which sound effects are made on the fly.
Aug
9
comment Problematic cameraposition (Eye = (0,0,0), at=(0,-2,0) and up = (0,1,0))?
I have never seen a lookat-like function that doesn't compute a new up basis vector from the forward and right vectors. Using the user-supplied up directly is almost guaranteed to be non-orthogonal. It might be worth mentioning this process of two cross products to generate an orthogonal basis.
Aug
7
answered How to correctly pass multiple light structures to shader stage?
Aug
5
comment May I distribute a game engine that is based on textbook examples?
Note that some books are very strict on how you may use the code. For example, Numerical Recipes in C is extremely protective of the routines presented in the book.
Aug
1
comment Job based on development
I'm voting to close this question as off-topic because it's about education/employment.
Aug
1
revised DDS files with DirectX Tk, Some work, some don't
grammar, markup, formatting
Jul
22
comment Tiling perlin noise seamlessly, but without repeating to generate an infinite 3D world
@NervezXx Note that in Java, MIN_VALUE is the smallest possible positive non-zero value, not the largest negative value.
Jul
21
answered OpenGL calls from a different thread?
Jul
20
comment I can't understand the batcher.draw at libgdx
Most libraries and software have documentation and support resources. You may want to look at those for guidance as the question as it currently stands does not really fit into the Q&A format of this site.
Jul
20
answered Getting the topleft, topright, bottomleft and bottomright points of a shape in Unity3D?
Jul
19
answered sfml/opengl, two objects of same class are sharing variables
Jul
5
answered How to design game server to mitigate DDOS attacks
Jul
4
revised Naming a weapon during game development: is using the actual model name in real life against copyright?
incorporate feedback from AV