Page 1 of 1

[Tutorial] Adding reflections to objects

Posted: Mon Nov 03, 2008 6:03 am
by DJ99X
OK, seems like a few people didn't realise you could have reflections on objects. Here's a tutorial on how to add it. This is not a tutorial on how to use blender.

So, you have your object, its dull, like this-

Image

In blender, hit F5 to get into shading options. Under 'Links and Pipeline', and 'Link to object', click on the arrows thing, and go 'ADD NEW'. In the box next to the arrows, rename it to something like 'Reflections'.

Now, go across to a menu that has 'Mirror Transp.'. There will be two blue buttons, one 'Ray Mirror' and the other 'Ray Transp'. Click on Ray Mirrror to enable it.

Slide up the RayMir bar a bit. (You can keep testing the object in game till you find a good setting.)
Thats all you have to do if you want the whole object to have reflections.

To have particular faces shiny and others not, you will need to add another material. Repeat the steps above, calling it something like Dull. Turn off Ray Mirror, and slide the slider to 0.

Image

Now switch back to 'Editing' in the Buttons Window, then go to 'Edit Mode' in 3D view. Under 'Links and Materials' , there should be the up and down arrows, with Dull next to it. In the 3d view, with face select on, select the faces you want shiny. Click on those up and down arrow things, and select Reflections. Then click assign. Done. Heres what it should be like-

Image


______________________________________________


Hey JLV, is there any other things you can do with models? I can remember getting something else to work once. I think it might have been subsurface scattering. I remember getting the model to go yellow, and also got the skin to look like it was 'within' the model, like it had a glass coating.

Re: [Tutorial] Adding reflections to objects

Posted: Mon Nov 03, 2008 11:12 pm
by jlv
You can also adjust the specular exponent (Blender calls it hardness) and color.

Re: [Tutorial] Adding reflections to objects

Posted: Mon Nov 03, 2008 11:31 pm
by ddmx
will it read textures done in blender that aren't uvw texs? I think blender 4.8 has layered textures now.

Re: [Tutorial] Adding reflections to objects

Posted: Mon Nov 03, 2008 11:34 pm
by DJ99X
I don't think the export script will export textures incorporated into the .jm file. If it did, that would be sweet for normal and specular mapping

Re: [Tutorial] Adding reflections to objects

Posted: Tue Nov 04, 2008 12:16 am
by ddmx
exactly what i was thinking. ha ha. maybe in the future.

Re: [Tutorial] Adding reflections to objects

Posted: Tue Nov 04, 2008 12:47 am
by Wilson
DJ wrote: normal and specular mapping
jLV When can we expect to see something like this?

Re: [Tutorial] Adding reflections to objects

Posted: Tue Nov 04, 2008 5:28 am
by jlv
Sometime after online multiplayer.

Re: [Tutorial] Adding reflections to objects

Posted: Tue Nov 04, 2008 1:46 pm
by ddmx
Man, you deserve more than this you know. All this work...good stuff.

Re: [Tutorial] Adding reflections to objects

Posted: Tue Nov 04, 2008 11:48 pm
by DJ99X
Wow, thats sweet that you will actually consider doing that.

Re: [Tutorial] Adding reflections to objects

Posted: Sun Jul 11, 2010 1:37 am
by yzmxer608
Is this obsolete now?

Re: [Tutorial] Adding reflections to objects

Posted: Sun Jul 11, 2010 1:40 am
by DJ99X
Nah. My yzf used it

Re: [Tutorial] Adding reflections to objects

Posted: Sun Jul 11, 2010 1:47 am
by yzmxer608
Cool, this should be put in the tutorial sub forum :).

Re: [Tutorial] Adding reflections to objects

Posted: Sun Jul 11, 2010 1:58 am
by DJ99X
Yeah I must of missed it when I moved the others to the subforum

Re: [Tutorial] Adding reflections to objects

Posted: Sun Jul 11, 2010 2:20 am
by jlv
yzmxer608 wrote:Is this obsolete now?
They should look much better now that the reflections are calculated per pixel instead of per vertex (provided you have shaders enabled).

I've moved the topic.