Jump to content

turning off object transparencys


Recommended Posts

source\gamelib\map\MapOutdoorLoad.cpp

search

m_matBuildingTransparent._41 = 0.5f;
m_matBuildingTransparent._42 = 0.5f;

set both to 0.0f (if you want to keep directx matrix scaling transparent for out of camera sign objects [semi-transparent for performance])
or 
comment whole section

//D3DXMatrixScaling(&m_matBuildingTransparent, 1.0f / ((float)ms_iWidth), -1.0f / ((float)ms_iHeight), 1.0f);
//m_matBuildingTransparent._41 = 0.5f;
//m_matBuildingTransparent._42 = 0.5f;


I do not guarantee that there will be no camera bugs (especially on .gr2 bridge meshes)

with "fix":

mesh.png
trans.png
70100.png
desk.png

without:
ship2.png
planks.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1

I completely abandoned working on the files for this game. I do not respond to private messages.

.png

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Target Information System

    2. 1

      Feeding game source to LLM

    3. 2

      anti exp explanation pls

    4. 1

      Feeding game source to LLM

    5. 2

      anti exp explanation pls

    6. 0

      [GR2] Positioning an object added with "Attach"

    7. 1417

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.