Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing blue glow around items?
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#2
RE: Removing blue glow around items?

If there isn't a setting available for it. However, if you are doing a full conversion you can use a custom resources file to override where the game looks for the "shaders" directory, and hence override "game_object_flash_frag.glsl" - which is responsible for the glowing effect on an object (Note that an object will still get the blue-outline when moused over as that is a different effect). You can just replace it with something like:
////////////////////////////////////////////////////////
// Object flash - Fragment Shader
//
// Makes a nice flash effect around objects.
////////////////////////////////////////////////////////
#version 120
varying vec3 gvNormal;

uniform sampler2D aDiffuse;
@define sampler_aDiffuse 0

uniform float afColorMul;

void main()
{
    gl_FragColor = texture2D(aDiffuse, gl_TexCoord[0].xy) * 0;
}

In other words:
1) Make a custom resources.cfg
2) Make a copy of the shaders directory - put it in your full conversion's folder
3) Remove the existing shaders info from resources.cfg - make it point to your new folder
4) Edit the files to suit

This will remove the highlighting on the object, but not the rim-light when you mouse over it.
(This post was last modified: 01-03-2012, 03:33 PM by Apjjm.)
01-03-2012, 03:31 PM
Find


Messages In This Thread
Removing blue glow around items? - by Streetboat - 01-03-2012, 06:19 AM
RE: Removing blue glow around items? - by Apjjm - 01-03-2012, 03:31 PM
RE: Removing blue glow around items? - by Acies - 01-03-2012, 03:35 PM
RE: Removing blue glow around items? - by Statyk - 01-03-2012, 09:09 PM



Users browsing this thread: 2 Guest(s)