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

Suggestion: Resourcepacks. #13

Open
ghost opened this issue Aug 13, 2017 · 2 comments
Open

Suggestion: Resourcepacks. #13

ghost opened this issue Aug 13, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 13, 2017

I'm unaware of this is even possible or not, I am just a lowly artist.
The suggestion:
Resourcepacks having the ability to change the colours of the default game's lights. (Or mod's, depends on how the feature is implemented, if even at all.)

@unascribed
Copy link
Contributor

Albedo is not currently very good at static lights, like lamps and such from vanilla. This is likely to change, but at the moment this isn't really possible.

@falkreon
Copy link
Member

falkreon commented Aug 14, 2017

I can see adding luma maps to restrict the shape of a dynamic light (e.g. spiky fringes or glowing magical tracery). It'd just be enabling texture2d and doing a color multiply to subtract from the combined effect. But, it would also require computing light UVs based on distance from source, so I'm not sure how feasible this is.

Edit - the shader just does a 3d distance function, which is perfect. The texture can go in as a flat projection extruded along the Y axis (and still attenuated by distance). The only limitation is that the texture would have to be bound, and I don't know how many texture units we're using. Probably not worth using an extra texunit.

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