Trying a new 'glowing moss' texture to sort out how to make the raycaster alter the light of a surface that has its own light.
This commit is contained in:
parent
e361984c40
commit
9dcc2036aa
12 changed files with 109 additions and 51 deletions
|
@ -17,7 +17,7 @@ TEST_CASE("lighting a map works", "[lighting]") {
|
|||
Point light1, light2;
|
||||
|
||||
REQUIRE(map.place_entity(0, light1));
|
||||
REQUIRE(map.place_entity(1, light1));
|
||||
REQUIRE(map.place_entity(0, light1));
|
||||
|
||||
LightSource source1{6, 1.0};
|
||||
LightSource source2{4,3};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue