News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

Re: Gloss control in interaction.vfp

Started by motorsep, October 08, 2014, 05:00:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zombie

Thanks to Rebb, I got gloss control working.

http://i.imgur.com/vCih9dz.jpg

No engine changes needed, just some tweaks on the interaction shader, use the alpha component and adjust a value between 1 and 0 to control the gloss, and tweak the RGB scale through the material with values to get the nice amount of shine needed.

       
       {
blend specularmap
map scale (textures/wicky02/rock_ground_s.tga, 0.3, 0.3, 0.3, 1 )
alpha         0.75
}

motorsep

Not to be a party pooper, but that doesn't look correct.

Gloss defines the size of the highlight:



On your pic, Zombie, highlight doesn't seem to change the size, just intensity.