The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
84 views

A way to obscure vision when its blocked? [duplicate]

I'm creating a classic top-down shooter kind-of-thing but I don't want to player to be able to see everything freely. Basically the question is as follows; is there a smart way to block vision of ...
0
votes
1answer
117 views

Per-fragment lighting system behaves like ambient lighting system

This is the relevant section of my fragment shader varying vec3 normal; varying vec3 halfv; ... vec4 color = ambient * gl_LightSource[0].ambient; vec3 n = normalize(normal); float ...
3
votes
1answer
108 views

How to determine depth of a pixel perfect collision

I am trying to figure out how to determine the depth of a pixel perfect collision in XNA. I want to know the depth in order to be able to use it in my collision response. At the moment I have the ...