The camera now updates a shader with the positions, strengths and colors of nodes in the light group. The sources cast light around them on the z layer they are on. They do not work for Tilemaps yet and can't be occluded. The light of different sources does not get stronger if they overlap. |
||
|---|---|---|
| .. | ||
| AlienShipTileSet.tres | ||
| Background.tscn | ||
| GrassWithBonesTest.tscn | ||
| LightingShader.gdshader | ||
| LightingShaderMaterial.tres | ||
| ShaderGrass.gd | ||
| ShaderGrass.gdshader | ||
| ShaderGrass.tres | ||
| ShaderGrass.tscn | ||
| ShaderGrassInverse.gdshader | ||