Jump to content

specular map issue


You are about to reply to a thread that has been inactive for 2531 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Yeah right, the gyazo link is broken because of the trailing dot in the link. Removing the dot will reveal the image.

How many triangles does this mesh have? If it's more than 21844 triangles in a single material, the SL importer will split the mesh into multiple materials on it's own. This does happen for collada exports which saves the geometry in <polylists>, rather than in <triangles> lists. Which is what Blenders exporter does, <polylists>.

Your issue could be something else as well though.

Link to comment
Share on other sites

Unless you are using "edit face" to apply the maps in SL, it shouldn't matter how many faces the mesh has, if you edit a rezzed mesh, and do not use the edit face option, you apply diffuse/normal/specular maps to ALL faces.
 

Link to comment
Share on other sites

That looks like a horrible case of "phong" :D. Any chance your texture has an alpha channel?   I can't remember ever trying to make a texture with an alpha channel have a specular.  And I am off for the day so not going to try now :D. But a possibility.  Does it ONLY look this way with a specular map or does it have the issue before applying?

And to be clear you are saying that you only have one MATERIAL applied to the statue? Only one UV map?

 

Link to comment
Share on other sites

  • 1 month later...

I've used specular maps with colour and alpha in one image, no problems. The alpha channel doesn't affect the visibility of the diffuse texture, though the items I do this on don't have an alpha channel in the diffuse texture. An alpha channel is a lot of bits to download if you don't need it.

If I just want to get the controls, I use a very small 50% transparent texture. You could use the full transparent texture setting, but it's a bit big. For some things a low specular reflection makes a big difference to the final look.

I've used a version of the diffuse texture, with added alpha channel, to vary the colour and intensity of the material. The Lindens use the word "modulate" which, when I first saw it on their Wiki page, fell into the "everyone already knows" category of unclarity. Some things just don't get explicitly defined. So some components of the garment are shiny, some are not. One obvious feature to use this on would be a belt with a metal buckle.

Edited by arabellajones Resident
bad typing
Link to comment
Share on other sites

6 hours ago, arabellajones Resident said:

[ .... ]

I've used a version of the diffuse texture, with added alpha channel, to vary the colour and intensity of the material. The Lindens use the word "modulate" which, when I first saw it on their Wiki page, fell into the "everyone already knows" category of unclarity. Some things just don't get explicitly defined. So some components of the garment are shiny, some are not. One obvious feature to use this on would be a belt with a metal buckle.

So, you make the buckle a separate material from the rest of the belt and then either apply different specularity parameters to it or apply a different spec texture to it, or both.

Link to comment
Share on other sites

Well, apart from the limit on the number of materials on a mesh object... And multiple materials need edges in the right place.

Also with normal maps as well you can add surface features without using triangles, for instance a chromed rivet. But less blatant, a pair of denim jeans. You don't need polygons to define the seams, the pockets, or the rivets, and the rivets are a bit more reflective than the fabric.

I use the GIMP, and there is an add-on called InsaneBump which can give you a bump map from a height map. I'd use several layers for that, for the seams, the rivets, and some creasing. From the rivet layer I could derive an alpha map for the specularity and normal maps..

Some of the details are here https://wiki.secondlife.com/wiki/Material_Data but a few things are left undefined in an "everybody knows that" state. I had to do a bit of digging to find out that the "specular exponent" and "glossiness" are the same thing, and then they leave "modulates" without a definition.

I think an opaque alpha channel is the maximum value and that becomes no-change, an x 1 multiplier

I have seen a few things that seem to do odd stuff. Where one material is the same specularity, I use a very small 50% transparency texture to activate the dials. And I wouldn't use 100% transparency on anything. That's zero reflection

Most things should have a low level of specular reflection

Anyway, an alpha channel in the normal map locally affects the glossiness of the material, while the alpha channel in the specularity map affects the intensity of the reflection.

I'm lucky that I had done a few things with cgi modelling before I ever needed to look at how Linden Lab does things.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2531 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...