All Questions

3
votes
2answers
1320 views

Normal mapping gone horribly wrong

I tried to implement normal mapping in my opengl application but I can't get it to work. This is the diffuse map (which I add a brown color to) and this is the normal map. In order to get the tangen...
8
votes
2answers
3357 views

iOS SceneKit Neon Glow

Have been looking at lighting on Scenekit, and while I can now apply a lighting node to light something I'm looking for a way to light from within an object. As an example imagine a neon glow, or a l...
6
votes
2answers
8968 views

Libgdx light without box2d

I just started creating a game using libgdx. It is a top down 2d shooter using scene2d ui. Now i thought, that i could add darkness and light to some levels, but i don't want to rewrite everything usi...
7
votes
3answers
5228 views

Efficient 2D Tile based lighting system

What is the most efficient way to do lighting for a tile based engine in Java? Would it be putting a black background behind the tiles and changing the tiles' alpha? Or putting a black foreground and ...
5
votes
1answers
4222 views

SceneKit - Lighting and casting shadows

I'm trying to create a spot light that illuminates a cube. The surface underneath should then show a shadow. Unfortunately I wasn't able to achieve this. The light ignores the cube and casts the light...
3
votes
1answers
1290 views

In a TBN Matrix are the normal, tangent, and bitangent vectors always perpendicular?

This is related to a problem described in another question (images there): Opengl shader problems - weird light reflection artifacts I have a .obj importer that creates a data structure and calculat...
0
votes
1answers
1114 views

Libgdx 3D - Point Light shows black box & rect (PointLight not working)

I am creating a 3d scene currently a box and rect, and trying to enable lighting. When i create a PointLight and add it to Environment everything turns to black color? all i want to do is creat...
53
votes
5answers
8628 views

Improved Area Lighting in WebGL & ThreeJS

I have been working on an area lighting implementation in WebGL similar to this demo: http://threejs.org/examples/webgldeferred_arealights.html The above implementation in three.js was ported from t...
16
votes
2answers
18355 views

Realistic lighting (sunlight) with Three.js?

I'm attempting to create a small 1st-person game using Three.js, but I'm having trouble with the lighting. Basically I want to simulate the sun and have it rotate around casting light on everything. I...
23
votes
4answers
6067 views

How does Minecraft perform lighting?

The only model I'm familiar with is diffuse lighting but this look way more complicated than that.

Previous Next