Forum

Normal maps/bump maps in darkplaces?

Discuss anything not covered by any of the other categories.

Moderator: InsideQC Admins

Normal maps/bump maps in darkplaces?

Postby Karall » Sat Jan 22, 2011 12:36 am

Didnt really know were to put this, sorry if its in the wrong section.
Anyway, i wanna have normal maps in my darkplaces mod. I checked out the replacing content documentation and saw that i should rename my normal map with _norm.tga after. So i have bricka2_2.tga and bricka2_2_norm.tga. I didnt see any diffirence. Somewhere i saw that there are some commands to put in. I just dunno how to do it.
Karall
 
Posts: 128
Joined: Thu Jul 15, 2010 5:23 pm

Postby leileilol » Sat Jan 22, 2011 1:04 am

you need to turn on real-time lighting.
i should not be here
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby Karall » Sat Jan 22, 2011 12:50 pm

How would i do that?
Karall
 
Posts: 128
Joined: Thu Jul 15, 2010 5:23 pm

Postby Spirit » Sat Jan 22, 2011 2:08 pm

Options -> Lighting
Improve Quaddicted, send me a pull request: https://github.com/SpiritQuaddicted/Quaddicted-reviews
Spirit
 
Posts: 1031
Joined: Sat Nov 20, 2004 9:00 pm

Postby Karall » Sat Jan 22, 2011 2:28 pm

I screwed around with the lighting settings, made things look kinda better, so things kinda reflect light. But i cant get it to make the textures look deeper, i see no diffirence when i delete my normal map. Anyone have a good config?

http://img140.imageshack.us/i/nrmhs.png/ thats how i want it
http://img513.imageshack.us/i/50212908.png/ this is what i get

Is it even possible in darkplaces?
Karall
 
Posts: 128
Joined: Thu Jul 15, 2010 5:23 pm

Postby Chip » Sat Jan 22, 2011 6:10 pm

Karall wrote:Is it even possible in darkplaces?


Yes, it is.

You need to use DarkPlaces with RT lighting and shadows on, and have 3 textures:

texture.tga
texture_norm.tga (or texture_bump.tga)
texture_gloss.tga

Try adding 'r_glsl_deluxemapping 1' in console and see if textures change their detail level.

Also, try adding this to console, or to your config.cfg:

Code: Select all
r_shadow_realtime_world 1
r_shadow_realtime_world_lightmaps 1
r_shadow_shadowmapping 1
r_shadows 1

r_glsl_offsetmapping 1
r_glsl_offsetmapping_reliefmapping 1
r_glsl_offsetmapping_scale 0.011


DarkPlaces should have had this behaviour right from the start. My bet is there's something wrong with your textures. They should be in 'id1/textures/'.

EDIT:

Add this 'r_shadow_gloss 1' so your texture_gloss.tga gets to be used.

Do you know how to create normal and gloss textures? What graphic software are you using for editing textures?

Also, this configuration shows exagerrated bumpmapping:

Code: Select all
// Unrealistic Edging / Highlighting
r_shadow_bumpscale_basetexture "16"
r_shadow_gloss "2"
r_shadow_gloss2intensity "0.14"
r_shadow_glossexponent "64"
r_glsl_deluxemapping "2"
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest