Specular Problem in UDK!

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  09 September 2011
Specular Problem in UDK!


I have this really annoying specular problem in UDK. Let me talk you trough it step by step with some images:

This is the model I created in 3dsmax, sinse I really need some high detail in this model's texture map. I figured unwrapping 1/9 of the model, and make it have overlapping UV's.

This is the UV map for the model. As you can see the 'main ring' is just planar mapped, as well as the 'inner ring'. But for the rest of the model I used overlapping UV's to save UV space. I've read on the UDK documentation that this is no problem at all for the texture map, as long as the second lightmap has NO overlapping UV's.

Now here is the model in UDK without specular. As you can see, everthing is working fine, no strange artifacts in the normalmap. It all looks like I want it.

Now see what happons if a put a constant value of 1 in the specular slot of my shader.

You can clearly see strange artifacts matching my texture unwrap. I really don't think there is something wrong with my normal map sinse it works great whithout specular (and it all works fine in 3ds max). Also my second UV set has no overlapping UV's and I doubt there problem is with the second UV channel because you can clearly see the artifacts matching the texture UV map.

What have I tried allready:

I tried mirroring parts of the texture UV map with no success. Checked all teh UV's for mirroring.

I checked my smoothing groups, there all setup correct. I debuged by giving the model just one smooting group, and I still got the strange artifacts matching my UV texture map.

I tried playing with the models settings in UDK. like 'Use Full Precission UV's', 'Use Maximum Streaming Texel Ratio', 'Light Map Resolution' etc.

I pretty much came to the conclusion that it is NOT possible to get my specular right using this texture UV layout. Changing the texture map to a working layout seriuously decreases my UV space making it allmost imposible to get this amount of detail in the model (unless I use a 4096 texture).

So the question is, is there a way to fix this? Or should i Change my texture UV layout to a much less effecient one having the model loose lot's of detail :( There must be a way to get this kind of detail in a model of this size!

Please help me out! This problem is starting to drive me crazy.
Http://www.elmarnieser.com My portfolio
Http://www.3dleren.nl Dutch 3ds Max Tutorial site

Available for freelance!

Last edited by ElmarNieser : 09 September 2011 at 06:14 PM.
  09 September 2011
Could be a normals problem...try recalculating normals? Other than that idk how to help.
  09 September 2011
Just updated the topic to describe the problem a bit more!
Http://www.elmarnieser.com My portfolio
Http://www.3dleren.nl Dutch 3ds Max Tutorial site

Available for freelance!
  09 September 2011
I think I know what's going on here. UDK tends to mess up the normals when you're placing them on top of eachother in the UV set. You should lay out every single face uniquely!

I know it's not ideal, but I know for quite certain this is what messes it up.

edit: I just read your edit where you say you've already tried mirroring everything.. I suggest you lay out the complete inner ring again, just without any cuts whatsoever. Then when it's still mirrored for some strange reason, it will at least be mirrored completely and not per segment. Will probably also solve the problem.

Last edited by Pvdkuijt : 09 September 2011 at 06:57 AM.
  10 October 2011
Yea the UDK doesn't like overlapping UVs
Archerx.com - Portfolio site
CG Cast -Ep35- Not dead yet
CG Chat - Lets Chat About CG!
  10 October 2011
fix for specular

try this:

http://udn.epicgames.com/Three/Cont...xture mirroring
  10 October 2011
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 02:27 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.