demostenes Posted October 23, 2020 Share Posted October 23, 2020 (edited) Recently I ve noticed, that due to light depth texture baking, light cant be in node reference anymore, or in case of cloning this node shadows will go crazy. Is this intended behaviour? We have lots of nodes with light inside, typical case was torch. It was set once (mesh+light+particles) and then copied many times. It is not that big problem to put all lights out, but better to know if this is OK until we start. Thanks. Edited October 25, 2020 by demostenes Link to comment
silent Posted October 26, 2020 Share Posted October 26, 2020 Hi Jirka, Unfortunately, this is expected behavior with static shadows and NodeReference. The shadow textures can't be set individually when the lights are inside the NodeReferences. If you want to clone the lights it's better to do it without placing them inside the NodeReferences. There is a little chance that we can improve this behavior in the future, the functionality is quite fundamental and more likely will completely broke everything around :) Thanks! 1 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
demostenes Posted October 26, 2020 Author Share Posted October 26, 2020 1 hour ago, silent said: Hi Jirka, Unfortunately, this is expected behavior with static shadows and NodeReference. The shadow textures can't be set individually when the lights are inside the NodeReferences. If you want to clone the lights it's better to do it without placing them inside the NodeReferences. There is a little chance that we can improve this behavior in the future, the functionality is quite fundamental and more likely will completely broke everything around :) Thanks! Thanks, I thought so, I just wanted to be sure :) Link to comment
demostenes Posted November 26, 2020 Author Share Posted November 26, 2020 Hello, do I understand well, that this limitation also applies to light mapping? So In case I want to light map object with more instances, I cant use node reference? Link to comment
silent Posted November 27, 2020 Share Posted November 27, 2020 Yeah, the same thing. All the baked stuff is looks good, but brakes the batching. 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
demostenes Posted November 27, 2020 Author Share Posted November 27, 2020 4 hours ago, silent said: Yeah, the same thing. All the baked stuff is looks good, but brakes the batching. Thanks! I think this info is worthy to be put in documentation. Link to comment
fox Posted November 27, 2020 Share Posted November 27, 2020 We'll surely add that ASAP! Link to comment
Recommended Posts