View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005730||DarkRadiant||Renderer||public||27.08.2021 01:11||28.08.2021 22:05|
|Summary||0005730: Translucent triggers/visportal/nodraw materials|
|Description||I think a helpful feature would be to allow certain materials to be rendered translucent in the editor. The use case for this would primarily be for utility materials such as triggers, visportals, and nodraw brushes.|
The Filters are hugely useful for making utility materials disappear completely, but there are times where it is desirable to see the utility material in relation to the world geometry -- how it fits, what it covers, how tightly it hugs a given space.
I've attached a sample image of what this could possibly look like.
|Additional Information||My quick thought on its interface would be to allow a translucency value in the .MTR file. Example: "qer_translucency 0.5"|
|Tags||No tags attached.|
trigger.png (285,395 bytes)
I already did something similar years ago, you can test and download it here http://www.mediafire.com/file/iczdr93w493yf3x/Translucent_textures_by_IZaRTaX_2.rar/file
I added alpha channel with the translucent function and blend gl_src_alpha, gl_one_minus_src_alpha
To install put the __translucent.pk4 in your /DarkMod folder.
Before your final compile remove __translucent.pk4
tr.png (1,736,833 bytes)
Yeah, you can already work around this by modifying the materials to have alpha and DR will try to mimick it. But a dedicated keyword for alpha in DR would be easy to use and offer more control.
Could be that TDM's material code will need to be updated to accommodate this, to avoid "unknown general keyword" console warnings.
|27.08.2021 01:11||BrendonChung||New Issue|
|27.08.2021 01:11||BrendonChung||File Added: trigger.png|
|27.08.2021 18:49||greebo||Status||new => acknowledged|
|28.08.2021 08:58||IZaRTaX||Note Added: 0014317|
|28.08.2021 08:58||IZaRTaX||File Added: tr.png|
|28.08.2021 22:04||Dragofer||Note Added: 0014320|
|28.08.2021 22:05||Dragofer||Note Edited: 0014320|