|
Post by ssolny on Mar 24, 2016 22:25:38 GMT -5
Hi all! I try to make my own edition of recolorable ceiling. I found the best shader for such kind of objects is Rug, but... there is a problem with Rug shader: even if object placed at ceiling it still receive shadows from ground Oo I tried to play with Lights and Occluders sections, but result is still far away from ideal So is there a way to make an object completely shadeless? Expl pic
|
|
|
Post by j on Mar 25, 2016 5:36:06 GMT -5
Surely you're better off cloning a ceiling object (such as Baby Genius Mobile)?
|
|
|
Post by ssolny on Mar 25, 2016 6:38:49 GMT -5
Hehe, ok, but if I'll clone another objects it will have Phong (or something like) shader more than likely. And after I'll change the shader to Rug it will receive shadows from floor back. What is the sense?
|
|
|
Post by j on Mar 25, 2016 6:44:22 GMT -5
Why do you need the shader to be set to "Rug"? Phong is the regular shader most objects have. Phong Alpha for transparency.
|
|
|
Post by ssolny on Mar 25, 2016 7:13:32 GMT -5
Because Rug is one of shaders which gives seamless visualizing to objects placed one-by-one. And in this certain case Rug works better than Counter shader or other seamless shaders (btw Counter shader gives even more ugly shadows from objects placed under "ceiling").
|
|
|
Post by j on Mar 25, 2016 7:22:11 GMT -5
I'm not sure I understand what you mean. Could you post your .package?
|
|
|
Post by ssolny on Mar 25, 2016 7:50:21 GMT -5
Sure .packageBut I'd better explain with picture: It's the same 1x1 tile object, light variation has Phong shader and looks graded, wood variation has Rug shader and looks plain but receive floor shadows. Both variants are worse, hehe.
|
|
|
Post by j on Mar 25, 2016 9:11:18 GMT -5
Ah, I see what you mean. It's like the shader references the floor shadows on the "rug" even though it's upside down on the ceiling. Sadly I don't know what much about shaders outside the glass/phong ones, so maybe someone else can be of more help. But on the subject of your ceiling tiles I would still advise you to clone off of a ceiling object (like the baby mobile, not a light since you'd then need to fiddle with the light resource). Right now your object has a pre-set height value, which means it fits the shortest wall height, but won't work for the other two. If you clone off a ceiling object, your tiles will have a rig that will make them latch onto the ceiling, making the object work for all 3 wall heights. You'd need to tweak your mesh if you do that, on the Z axis mainly. To better illustrate what I mean, you can clone the Mobile object and import this mesh I prepared for you: www.mediafire.com/download/d4rkx35mba9xviu/Working+tile.blendP.S. Have you tried "Floors" or "Roof" shader?
|
|
|
Post by orangemittens on Mar 25, 2016 11:39:23 GMT -5
Shaders are like small programs that are in the Shader_Win32.precomp in your game files: Studio is not decompiling this .precomp although it does allow editing of some of the input parameters through the Warehouse. The shadow that is cast on an item with the rug shader applied does not seem to be an input parameter and so Studio cannot edit that at this time. For this reason, I think you're better off doing what J has suggested...choose a different shader to use for your item.
|
|
|
Post by ami on Mar 27, 2016 2:36:18 GMT -5
The cabinet shader does the same thing and I haven't noticed any weird shadows from it. However, if you change the alpha layer of your bump map to black, that might do it as well.
|
|
|
Post by ssolny on Mar 27, 2016 9:04:26 GMT -5
Ty j! It's good idea. I didn't thought about that way.
I tried almost all shaders for this object =) The "Rug" gives better result, but not ideal tho. "Roof" and Floors" shaders do not work for objects in principle, seems they have more specific purposes.
Ty, OM. I was guessed it's so, but had a hope it is possible to change a way how shader will calculated on an object. Unfortunately other shaders give even worse result.
Hi ami! That shadows isn't weird =) It has a reason to be there. In this certain case "Cabinet/Counter" shaders does not fit. I tried and I dislike the result.
|
|
|
Post by brujah on Apr 15, 2016 18:49:04 GMT -5
The file is no longer hosted at mediafire... are you still interested in this project? I'd be happy to help if you sent the package.
|
|