8000 Wishlist: render alpha mask/fence textures with transparency · Issue #1412 · TrenchBroom/TrenchBroom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wishlist: render alpha mask/fence textures with transparency #1412

Closed
ericwa opened this issue Aug 13, 2016 · 1 comment · Fixed by #2233
Closed

Wishlist: render alpha mask/fence textures with transparency #1412

ericwa opened this issue Aug 13, 2016 · 1 comment · Fixed by #2233
Assignees
Labels
Prio:3 Low priority: Minor problems and nice to have features Type:Enhancement New features

Comments

@ericwa
Copy link
Collaborator
ericwa commented Aug 13, 2016

The informal spec is, if the texture name begins with {, palette index 255 is rendered transparent

@kduske kduske added Type:Enhancement New features Platform:All Prio:3 Low priority: Minor problems and nice to have features labels Aug 13, 2016
@kduske kduske added this to the TrenchBroom 2.1.0 milestone Aug 13, 2016
@kduske kduske removed this from the TrenchBroom 2.1.0 milestone Feb 17, 2018
@ericwa ericwa self-assigned this Aug 13, 2018
@ericwa
Copy link
Collaborator Author
ericwa commented Aug 13, 2018

Also implement the .mdl model flag extension for this that is supported by MarkV and Quakespasm:

#define	MF_HOLEY	(1u<<14)		// MarkV/QSS -- make index 255 transparent on mdl's

ericwa added a commit that referenced this issue Aug 17, 2018
@ghost ghost added the Status:In Progress label Aug 17, 2018
ericwa added a commit that referenced this issue Aug 18, 2018
…or alpha-masked skins (#2233)

* 1412: support fence textures with "{" prefix and MF_HOLEY .mdl flag
for alpha-masked skins.

Fixes #1412

* 1412: silence warning

* 1412: fix test compilation

* 1412: silence warning

* 1412: address review comments

* 1412: use GL_GENERATE_MIPMAP to autogenerate mipmaps

* Revert "1412: use GL_GENERATE_MIPMAP to autogenerate mipmaps"

This reverts commit 44a0f9f.

* 1412: only autogenerate mipmaps if there are none, or it's a masked texture
@ghost ghost removed the Status:In Progress label Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio:3 Low priority: Minor problems and nice to have features Type:Enhancement New features
Projects
None yet
2 participants
0