Quantcast
Channel: Latest Questions by LethalJam
Browsing all 8 articles
Browse latest View live

Changing alpha on specific vertexes?

I'm trying to make a type of fog of war where I raycast towards a plane and change the alpha of vertexes on that plane. I'm using [this shader][1]. and this is the code I tried to change the alphas...

View Article



Lighting up all triangles between two points in a mesh?

Ok, so I'm working on a type of fog of war that's supposed to simulate the vision from a point, so that you can't see through walls an so forth. This picture might help to explain: ![alt text][1] I...

View Article

Normalizing vector doesn't give a constant direction.

So I'm making a script that shoots gameobjects in the direction of the mouse cursor but I'm having a problem. I normalize the direction but the vector changes based on the distance from my character...

View Article

Game running at different speeds on different quality levels.

So I got a strange problem. My game is running at different speeds on different quality levels. It does this even though I'm using the AddForce functions of unitys Physics engine to move my characters....

View Article

Changing alpha on specific vertexes?

I'm trying to make a type of fog of war where I raycast towards a plane and change the alpha of vertexes on that plane. I'm using [this shader][1]. and this is the code I tried to change the alphas...

View Article


Lighting up all triangles between two points in a mesh?

Ok, so I'm working on a type of fog of war that's supposed to simulate the vision from a point, so that you can't see through walls an so forth. This picture might help to explain: ![alt text][1] I...

View Article

Normalizing vector doesn't give a constant direction.

So I'm making a script that shoots gameobjects in the direction of the mouse cursor but I'm having a problem. I normalize the direction but the vector changes based on the distance from my character...

View Article

Game running at different speeds on different quality levels.

So I got a strange problem. My game is running at different speeds on different quality levels. It does this even though I'm using the AddForce functions of unitys Physics engine to move my characters....

View Article

Browsing all 8 articles
Browse latest View live


Latest Images