Help & Guidance => Game Help => Topic started by: solitaryshade on June 03, 2014, 05:35:21 am
Title: Custom Material Not Showing Correctly *SOLVED*
Post by: solitaryshade on June 03, 2014, 05:35:21 am
Basically, I made a mesh in Blender, and managed to successfully get it into the game with little to no problem at all, with the mesh and collision working fine and everything.
I didn't have as much luck as I did with the actual material file. See, I wanted it to appear reflective, yet transparent like water, except much more translucent as pictured above.
It comes out like this. To be honest, I didn't expect it to have a reflective look, because whenever whenever I used the default WaterReflectMat on ANY object in Object Maker, it comes out invisible or only reflective on one side (is that normal?). But, I did expect transparency to work, but...it doesn't.
So, what did I do wrong?
Also, here's the material file in case you need it:
Title: Re: Custom Material Not Showing Correctly
Post by: Bawfle on June 03, 2014, 12:23:25 pm
Maybe you could use the coding from the water material file from the FeralHeart folder, thigh might work possibly? I'm not too good with custom meshes, but I'll be glad to help~
Title: Re: Custom Material Not Showing Correctly
Post by: solitaryshade on June 03, 2014, 06:52:35 pm
Only changing scene_blend's attribute to "alpha_blend" made it transparent, but the transparency doesn't show the same way as it does in Blender.
Example:
(http://s13.postimg.org/ug7ejgel3/ECH3_A.png)
Title: Re: Custom Material Not Showing Correctly
Post by: solitaryshade on June 03, 2014, 06:53:52 pm
Whelp. I found the solution - which was to UV map the entire object and just do the old-fashioned way of using textures instead of procedural materials from blender, since OGRE apparently does this a lot with Blender-fashioned materials. Just as I feared.
I'm going to have so much fun doing that to a 120-cell mesh. Yippee.