david.warford Posted May 21, 2020 Share Posted May 21, 2020 (edited) I was reading through the rendering sequence page and was starting to wonder how one could implement texture space lighting. If your not familiar texture space lighting is the process of calculating lighting information of a model in world space, but drawing that data to a render texture based on it's UVs. this is most commonly used to implement SSS, but in my case I would like to use it to pixelate the lighting on sprites in my game. however this seems to be incredibly difficult to implement based on the way the rendering sequence works. below is an example of texture space lighting Edited May 21, 2020 by david.warford updated link Link to comment
morbid Posted May 25, 2020 Share Posted May 25, 2020 Hello, That indeed a sophisticated task. You have a couple of options to change rendering: Write custom shader/modify standard one Use ObjectExtern and custom shader However, this will require a decent experience with UNIGINE, so the task could be quite time-consuming. Thanks. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
david.warford Posted May 25, 2020 Author Share Posted May 25, 2020 Im probably not experienced enough to do this at the moment, maybe you could explain the high level of concepts for option number one (i would prefer for the lighting to be calculated the same as the base mesh material)? That would give me something to work towards, I don't need it for my project immediately but would like to have a road map for where to go from here Link to comment
Recommended Posts