Thread: Fullbright

Results 1 to 8 of 8
  1. #1
    disadisadisa's Avatar
    Join Date
    Mar 2020
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    Fullbright

    Hello,i need fullbright on lua,thanks for in advance help

  2. #2
    trafikas's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    gm_flatgrass
    Posts
    159
    Reputation
    10
    Thanks
    2,312
    My Mood
    Yeehaw
    lmao just enter mat_fullbright 1 in console when you need it

  3. #3
    disadisadisa's Avatar
    Join Date
    Mar 2020
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by trafikas View Post
    lmao just enter mat_fullbright 1 in console when you need it
    i need fullbright for servers without sv_cheats 1

  4. #4
    trafikas's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    gm_flatgrass
    Posts
    159
    Reputation
    10
    Thanks
    2,312
    My Mood
    Yeehaw
    mat_fullbright isnt a cheat command

  5. #5
    g4la's Avatar
    Join Date
    Feb 2019
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by trafikas View Post
    mat_fullbright isnt a cheat command
    ] mat_fullbright 1
    Can't use cheat cvar mat_fullbright in multiplayer, unless the server has sv_cheats set to 1.

  6. #6
    Enegry3's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    1
    Code:
    local LightingModeChanged = false
    hook.Add( "PreRender", "fullbright", function()
    	render.SetLightingMode( 1 )
    	LightingModeChanged = true
    end )
    
    local function EndOfLightingMod()
    	if LightingModeChanged then
    		render.SetLightingMode( 0 )
    		LightingModeChanged = false
    	end
    end
    hook.Add( "PostRender", "fullbright", EndOfLightingMod )
    hook.Add( "PreDrawHUD", "fullbright", EndOfLightingMod )
    Example taken from https://wiki.facepunch.com/gmod/render.SetLightingMode

  7. #7
    trafikas's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    gm_flatgrass
    Posts
    159
    Reputation
    10
    Thanks
    2,312
    My Mood
    Yeehaw
    Quote Originally Posted by g4la View Post
    ] mat_fullbright 1
    Can't use cheat cvar mat_fullbright in multiplayer, unless the server has sv_cheats set to 1.


    tested in some server and it worked
    Last edited by trafikas; 04-04-2020 at 10:40 AM.

  8. #8
    kodkh's Avatar
    Join Date
    Feb 2020
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    1

    da

    hook.Add("RenderScene","gkfffff",function()
    render.SetLightingMode(1 and 1 or 0)
    end)
    hook.Add("PostDrawViewmodel","gkfffff",function()
    render.SetLightingMode(0)
    end)
    hook.Add("PreDrawEffects","gkfffff",function()
    render.SetLightingMode(0)
    end)

Similar Threads

  1. fullbright
    By flyordie44 in forum CrossFire Hacks & Cheats
    Replies: 4
    Last Post: 05-03-2009, 04:58 AM
  2. [Trade]Chams/Wallhack/Fullbright/Wireframe/NoFog for Bypass
    By riceking in forum Trade Accounts/Keys/Items
    Replies: 21
    Last Post: 04-23-2009, 10:26 PM
  3. Replies: 16
    Last Post: 04-21-2009, 09:55 PM
  4. Free Chams,CrossHair,WallHack,FullBright,and WireFrame
    By enriqueb4567 in forum Combat Arms Hacks & Cheats
    Replies: 97
    Last Post: 04-20-2009, 11:20 AM
  5. FullBright?
    By Vlade8659 in forum Combat Arms Hacks & Cheats
    Replies: 3
    Last Post: 12-27-2008, 08:49 PM