Disable shadows

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

Disable shadows

by mauvebic » Tue Sep 03, 2013 15:13

Image
picture says it all.

either as an option, or put add_node in builtin so i can disable update_lighting() myself, or whatever else works.
"Fuck the hat." - Paulie Gualtieri
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Sep 03, 2013 15:46

A hacky way:
Use a vmanip, copy the data of the area, replace it by air only, write to map, update_lighing(), then place the original data and write to map without calling update_lighing().

It would be better if you would have used vmanip for the first placement.
 

User avatar
mauvebic
Member
 
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Tue Sep 03, 2013 15:50

Yeah but rewriting my mesh spanwer thingy to use vman would be a huge undertaking when simply disabling update_lighting for add node would do the trick (either as a function parameter or a separate function entirely)
"Fuck the hat." - Paulie Gualtieri
 


Return to Minetest Features

Who is online

Users browsing this forum: Google [Bot] and 11 guests

cron