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
Remove blue object light.
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#3
RE: Remove blue object light.

1)Full conversion
2)Duplicate Amnesia - The Dark Descent\redist\shaders\game_object_flash_frag.glsl
3)Edit duplicated version:
a)

float fRimLight = dot(gvNormal, vec3(0.0, 0.0, 0.0));
fRimLight = 0.0 - abs(fRimLight);



b)
gl_FragColor = texture2D(aDiffuse, gl_TexCoord[0].xy) * vec4(0.0, 0.0, 0.0, 0.0) * fRimLight * afColorMul;

Either a) or b) should turn off the thing theoretically - I haven't tried.

Good luck! :]

[Image: mZiYnxe.png]


(This post was last modified: 11-02-2012, 02:30 PM by Acies.)
11-02-2012, 02:29 PM
Find


Messages In This Thread
Remove blue object light. - by Googolplex - 11-02-2012, 01:35 PM
RE: Remove blue object light. - by The chaser - 11-02-2012, 01:39 PM
RE: Remove blue object light. - by Acies - 11-02-2012, 02:29 PM
RE: Remove blue object light. - by Statyk - 11-02-2012, 05:52 PM
RE: Remove blue object light. - by ZodiaC - 11-02-2012, 06:05 PM
RE: Remove blue object light. - by Statyk - 11-02-2012, 06:42 PM
RE: Remove blue object light. - by ZodiaC - 11-02-2012, 08:09 PM
RE: Remove blue object light. - by Googolplex - 11-04-2012, 06:54 PM



Users browsing this thread: 3 Guest(s)