You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quite often, it's useful to split an object in Blender into two parts — for example, when a part of the wall should be shown only in certain game modes, and in other modes it should be hidden, then one can separate the interesting part, make a new object out of it, and set scripting options to show it under certain conditions.
However, it breaks the reflections at least in case when the material of the object uses reflections.
Example - monkeys
Consider the following map (zip, 351kb). It consists of four standard monkey models placed as 2x2 grid, while top left and bottom right monkeys are split into the big top part and small mouth part:
The color of monkeys is solid 180 130 80, while the color of their gloss map is also solid 150 150 0.
If you try to add more light by using nitro and going into the monkeys, you can spot the difference:
SP debug > Toggle normals visualization clearly shows differences between the two bottom monkeys - you can see cyan circles at the sides above the mouth for the split monkey:
Examples - real maps
I have encountered strange reflections/shadows while making other maps before, as early as in 2022 (left picture), but also this year (right picture). In both cases, it's the same material used in differing parts, and the common thing for two maps is that a certain object had a part being separated for scripting reasons (for the left, the barrier that went to the left initially; for the right, the right half of the wall is another object).
Configuration
As always, I used my custom client, but I would be really surprised if it cannot be reproduced with the latest git 502fcf5, as I suppose the issue is there for at least three years.
The text was updated successfully, but these errors were encountered:
Quite often, it's useful to split an object in Blender into two parts — for example, when a part of the wall should be shown only in certain game modes, and in other modes it should be hidden, then one can separate the interesting part, make a new object out of it, and set scripting options to show it under certain conditions.
However, it breaks the reflections at least in case when the material of the object uses reflections.
Example - monkeys
Consider the following map (zip, 351kb). It consists of four standard monkey models placed as 2x2 grid, while top left and bottom right monkeys are split into the big top part and small mouth part:
The color of monkeys is solid 180 130 80, while the color of their gloss map is also solid 150 150 0.
If you try to add more light by using nitro and going into the monkeys, you can spot the difference:
![Image](https://private-user-images.githubusercontent.com/23140380/411254456-8cab20b1-b0a8-4da0-a8e9-3f700f16e988.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Mzk4NzksIm5iZiI6MTczOTQzOTU3OSwicGF0aCI6Ii8yMzE0MDM4MC80MTEyNTQ0NTYtOGNhYjIwYjEtYjBhOC00ZGEwLWE4ZTktM2Y3MDBmMTZlOTg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDA5MzkzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE5YzJmMjBmMGYyYzkwNzc3ZTk0NjFjZWNhN2M0ZDgyNzk3Njg5OWQyOGIwZmE4MDM1NTE1NWU3NDk3ODYzMjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._rU3e_cT_saf3qLcPWDIpnIQuaWgXDh1ei8TIuC_EcE)
SP debug > Toggle normals visualization clearly shows differences between the two bottom monkeys - you can see cyan circles at the sides above the mouth for the split monkey:
![Image](https://private-user-images.githubusercontent.com/23140380/411253079-3a848839-2231-4d9e-9cc0-26c8fccd9a6c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Mzk4NzksIm5iZiI6MTczOTQzOTU3OSwicGF0aCI6Ii8yMzE0MDM4MC80MTEyNTMwNzktM2E4NDg4MzktMjIzMS00ZDllLTljYzAtMjZjOGZjY2Q5YTZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDA5MzkzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE5NTY5MzBjYTU0ZDk2OGI2Njk0ZGNjMjMzODliY2MyMzcyMmNlN2U2YWY1MzA2YjNjZmFiZmIzNTNhYjEzYTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.J48oSyObI1flrQczy6sFpdPqUZm6tSM_WxL4ykde8hI)
Examples - real maps
I have encountered strange reflections/shadows while making other maps before, as early as in 2022 (left picture), but also this year (right picture). In both cases, it's the same material used in differing parts, and the common thing for two maps is that a certain object had a part being separated for scripting reasons (for the left, the barrier that went to the left initially; for the right, the right half of the wall is another object).
![Image](https://private-user-images.githubusercontent.com/23140380/411254902-e8fa2146-e65e-41e2-b347-5fb959f8f1a8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Mzk4NzksIm5iZiI6MTczOTQzOTU3OSwicGF0aCI6Ii8yMzE0MDM4MC80MTEyNTQ5MDItZThmYTIxNDYtZTY1ZS00MWUyLWIzNDctNWZiOTU5ZjhmMWE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDA5MzkzOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI4NjNkZWEyNWZhMGVjOTExZjY2ZTQ0NTY2NmM2YThhZDNkY2YwYjllN2I3ZDQxYWY4YmIzZjIyNzdiZDJiZjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.mpH6zdTD1-eMfgy0Bcb_EAvuGikrtmucs2oxp8TkcII)
Configuration
As always, I used my custom client, but I would be really surprised if it cannot be reproduced with the latest git 502fcf5, as I suppose the issue is there for at least three years.
The text was updated successfully, but these errors were encountered: