The light tag has no wiki summary.
0
votes
1answer
104 views
Use light cone/range as a Trigger
I was wondering, in Unity 3D, how I could do something with the Spot Light (Range/cone) as a trigger? Since it would be very interesting to be able to manipulate whats actually in sight of Light ...
2
votes
1answer
91 views
Shadow mapping with deffered shading for directional lights - shadow map projection problem
I'm trying to implement shadow mapping to my engine. I started with directional lights because they seemed to be the easiest one, but I was wrong :) I have implemented deferred shading and I retrieve ...
0
votes
1answer
103 views
Creating a light that follows the player
How do I create a point light that follows the player character when they walk around? The light should shine on the player and not on a fixed point.
1
vote
1answer
82 views
XNA Strange Lighting, Shader
Hey guys, i have strange lighting problem.
I've written my own "deferred lighting" shader and this happend:
Pic: Normal-Map
Pic: Light-Map
As long as i only use one big mesh everything seems ...
3
votes
1answer
87 views
Directional light shader not behaving as expected
I coded my first glsl shader which manage diffuse and specular effects of a directional light.
This is the fragment shader.
#version 120
//matrix
uniform mat4 model_matrix;
//directional light ...
2
votes
1answer
139 views
GLSL Multiple Uniform Structs
I'm developing a lighting system for my voxel game, and I have to send multiple (alot, say up to 200) lights to my shader program. Those lights contain the following data:
Position (vec3)
Color ...
2
votes
1answer
85 views
front and back face detection
I am trying to implement a dynamic shadow system for a 2d game using this tutorial :
...
2
votes
3answers
117 views
How do you accommodate newbies while still creating depth in the design of light/dark systems for MUDs (or other text-based games)?
I've been pondering a redesign of our MUD's light/dark system. Our current system accommodates new players by simply not saddling them with being unable to see should they happen to wander outside of ...
13
votes
1answer
612 views
How do I blend 2 lightmaps for day/night cycle in Unity?
Before I say anything else: I'm using dual lightmaps, meaning I need to blend both a near and a far.
So I've been working on this for a while now, I have a whole day/night cycle set up for renderers ...
1
vote
2answers
294 views
What is the color value of daylight?
This is a very short question. I want to implement ambient light in the color of daylight from the sun. What is the color value of sun light?
0
votes
0answers
355 views
Cocos3d lighting problem
I'm currently working on a cocos3d project, but I'm having some trouble with lighting and I have no idea how to solve it. I've tried everything and the lighting is always as bad in the game.
The ...
6
votes
1answer
408 views
How do I reconstruct depth in deferred rendering using an orthographic projection?
I've been trying to get my world space position of my pixel but I'm missing something.
I'm using a orthographic view for a 2.5d game. My depth is linear and this is my code.
float3 lightPos = ...
0
votes
1answer
223 views
How can I simulate light using mask images on the iPad? [duplicate]
Possible Duplicate:
Can I achieve a torchlight effect (lighter area around a light source) in a 2D game?
I want to have a picture as a background, say this:
Then I would like to apply a ...
1
vote
2answers
330 views
Lights system with shaders in OpenGL?
In more than just 1 occasion, i read about 2 ways of doing a light's system in OpenGL:
normal way? i don't know how to call this one
with the shaders ( GLSL )
The problem is i don't get the ...
0
votes
2answers
578 views
Lighting with VBO
INTRO
I'm using a Java JOGL wrapper called processing.org and I have coded some environment on it and I'm quite proud of it even if it has some library stuff that I didn't know anything about it ...