-
Notifications
You must be signed in to change notification settings - Fork 4
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
Colored fog rendering #1
Comments
The fog settings and color are stored in the Age's A common example is the
The colors are float RGBs. You can look up these commands in the in-console help for more information on their parameters. |
Thank you very much! I had started to look at plFogEnvironment: it didn't seem to be loaded from the age/prp files, but I missed the fact that this was set up this way. I'll look into it! |
So plFogEnvironment is actually used to handle the fog settings at runtime, but the way it ends up working is that there's a single plFogEnvironment that exists for the pipeline and all objects use that fog. It actually works if you create plFogEnvironments and put them in the PRP files (although no artist-oriented tools, including Cyan's, allow this). As for how we ended up in this situation...
|
Thank you again, this is much clearer now and I should be able to apply this to PRPViewer easily. I would also like to use this as an opportunity to thank you and all the H-uru contributors! I couldn't have done this without libhsplasma. |
As described in #1, the fog parameters can be parsed from the fni file, and apply to the scene.
Each age is supposed to be associated with a background color used for the fog. For now I'm only providing a color picker, as I was not able to find where this info is stored in the assets files / accessible through the API. Finding it and using it would help get closer to the in-game rendering.
The text was updated successfully, but these errors were encountered: