• Engine Lighting on SWEP: Help
    5 replies, posted
I set [code]render.SuppressEngineLighting(false)[/code] in my SWEP's PostDrawViewModel function because the lighting kept darkening my SWEP and you coulden't read the 3d2d text that I put on there. [IMG]http://i.imgur.com/JbMK1SE.jpg[/IMG] How can I have the same brightness in every direction I look?
-snip-
[QUOTE=code_gs;51600120]render.SetEngineLighting(2) instead of disabling lighting.[/QUOTE] Ive never seen SetEngineLighting before, its not on the wikis. am I missing something lol.
[QUOTE=arow1234;51600964]Ive never seen SetEngineLighting before, its not on the wikis. am I missing something lol.[/QUOTE] Oops, mistyped. Should be [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/render/SetLightingMode]render.SetLightingMode[/url]
[QUOTE=code_gs;51601085]Oops, mistyped. Should be [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/render/SetLightingMode]render.SetLightingMode[/url][/QUOTE] I though of that too. It brightens everything including the hud and makes everything looks worse than it was before. If anyone needs screenshots, I can post.
[QUOTE=fluffygods;51602130]I though of that too. It brightens everything [B]including the hud[/B] and makes everything looks worse than it was before. If anyone needs screenshots, I can post.[/QUOTE] [img]http://i.imgur.com/zVsjPN7.png[/img]
Sorry, you need to Log In to post a reply to this thread.