Hello I didn't ask for help for a longtime but I know you are fantastic community and I would like to know if you could help me... Basically I would like to create The New Perspective Mirror by Bonaldo
But there is a drawing on it and it's basically the point! I tried to make it but unfortunately the drawing doesn't appear at all it's just a simple mirror. Do you have a solution for this? Thank you for your help!
Well usually mirrors, are split into 2 groups: The frame and the reflective panel. The reflective panel group (usually called flatmirror in S4S) has it's own mirror shader and a texture applied to it. The shader makes the panel reflective, while the texture is used in place of the reflection when you zoom out of the mirror (to save performance) In other words anything you apply to that group won't be visible because the mirror shader will override it. (unless you want it to be visible from afar only)
The only possible way I can think of, is to add your texture (your drawing) to the frame group (this is usually the texture used at the back of the mirror) I haven't seen your blend file so I'm not sure how your mesh is built, but what I would do, would be to: 1) Copy the reflective panel and make it a separate group (the frame) 2) Then push it in front of the reflection group juuuuust a tiny bit 3) Then apply your texture on to the frame panel (you might need to remap accordingly)
I would suggest cloning the "Straight-up Wall Mirror" (from the base game) since it has it's texture tabs split. It makes it easier to make your mirror.
Post by jurisprudence on Feb 14, 2019 13:24:05 GMT -5
meinkatz Hello. I'm the least person to be giving this kind of advice, but I ran into a similar issue a bit ago and thought you might be experiencing the same thing. The mirror part of the cloned object should have a UV map even though you may only have 1 main cut. In my case, the mirror was only using half the space of the UV map (if that makes sense). I unwrapped the mirrored part of my mesh inside that half, and it worked.
EDIT: meinkatz might be onto something. You can try his advice before mine since it seems simpler. If not feel free to follow the steps below...
Ok so there are quite a few issues with your file.
First thing you wanna do, is duplicate your "reflection" group in blender (cut #2), move it a a tiny amount forward and "join" it with your "frame" group (cut #1). Like I mentioned above, this will allow whatever texture you use for the frame to be visible in front of the reflection.
Once I did that and imported it in S4S, I changed the texture of the 1ST tab (that's the frame's texture) and added your drawing. And boom it worked! However, your drawing texture doesn't have a transparent background. You should have a transparent background in your texture, to make the reflective part behind it visible. Otherwise your "drawing panel" will hide the mirror! I made a quick sketch in photoshop (it's very bad) with a transparent background and added it to the frame texture. Take a look in the picture below. The Left mirror is your original drawing texture, the Right is mine with a transparent background.
One thing to note, is that because you joined the frame with the panel you will need to remap your mirror so the back will have it's texture correctly applied. In the picture below you can see the back of the mirror. It needs to be remapped in Blender.
One important last thing to note, is that you need to enable the Alpha channels in your frame group. Otherwise the transparent part of your texture will appear black in game. I'll explain how to do that if you want me to, however I think this is already pretty overwhelming so I think it's better we take it step by step.
Feel free to leave any further questions.
Last Edit: Feb 14, 2019 13:46:02 GMT -5 by simsi45
Ok we're getting there. The mesh looks fine. The issue is that you didn't clone the mirror I specified. It's called the "Straight-up Wall Mirror" (from the base game, the tall one that sticks on the wall) That is the only mirror I've found that has 2 different texture tabs: one for the frame and one for the reflection! Try importing your mesh into a clone of that and importing your texture on the 1ST texture tab (not the 2nd) After that all we need to do is to enable the alpha on the frame, so you can make your texture.
Last Edit: Feb 14, 2019 15:00:51 GMT -5 by simsi45
OK good. All you need to do now is to add the texture of your previous mirror you sent me (the 2nd one) and replace it with the one on the 1ST tab. This will make the front of the mirror black and the back will stay white. The black part indicates there is supposed to be transparency there but it's not enabled on your model. After that we can enable it and we'll be done.
If you are having problems seeing the CAPTCHA, please clear your browser's cache and cookies and ensure that you do not have any browser addons or extensions that interfere with the display of the CAPTCHA. Then, close the CAPTCHA window and click on the register button to open the CAPTCHA again.