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

“alphaGen lightingSpecular” shader keyword is unsupported #213

Open
illwieckz opened this issue Jul 20, 2019 · 1 comment
Open

“alphaGen lightingSpecular” shader keyword is unsupported #213

illwieckz opened this issue Jul 20, 2019 · 1 comment

Comments

@illwieckz
Copy link
Member

Many Tremulous maps use it, but Dæmon does not implement it:

Warn: alphaGen lightingSpecular keyword not supported in shader 'textures/metro/zinc_ed' 

May be good to have this shader supported or at least to have a fallback to make map porting easier.

@megatog615
Copy link

Back in the day, it was intended to be used with texture maps that were made to have the surface look shiny with specular lighting. It's an alphaGen mode because the texture map made for it is intended to blend through the alpha channel. The alpha channel increases in value based on a predetermined direction(q3a had built-in map coordinates for this rather than using any lights). So, it's a bit like modern specular mapping but one thing to consider is the texture map made for alphaGen lightingSpecular is not your typical specular/gloss map and you'll have to reimplement the weird use-case introduced by blending it through the alpha channel.

@ghost ghost added T-Feature-Request Proposed new feature T-Regression labels Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants