[Help] Fullbright D3D

Discussion in 'Subnautica Accounts - Buy Sell Trade' started by RevLKX, 8/20/17.

Thread Status:
Not open for further replies.
  1. RevLKX

    RevLKX
    Expand Collapse
    High Risk Status: This user has been flagged as high risk due to one or more reasons

    0   0   0

    Online
    I have a D3D menu and obviously the hook. For the fullbright i used this code:

    Code:
    void FullBright( LPDIRECT3DDEVICE9 D3DDEVICE, DWORD VALUE )
    {
    g_pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    g_pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    g_pDevice->SetRenderState(D3DRS_LIGHTING, false);
    g_pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,255,255));
    g_pDevice->SetRenderState(D3DRS_FOGENABLE, false);
    }
    and called it like that:
    Code:
    FullBright(g_pDevice, D3DZB_FALSE );
    But ingame it doesnt change anything
    Can someone say what im doing wrong please?
    thanks.
     
    • This user is inactive. Hasn't logged into their account in over 60 days.
Thread Status:
Not open for further replies.