-
Notifications
You must be signed in to change notification settings - Fork 234
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
Terrain shader experiments #3585
Terrain shader experiments #3585
Conversation
Some intermediate results - this is an initial draft. Nothing is final yet. Overview of the current texture usage:
Where only stratum layers 7 / 8 are implemented. The others still use the old lighting model. |
That commit is on the wrong branch 😄 |
😆 |
Similar screenshots using the old map-wide technique. Note that Auralian (the green map) cheats because it uses 8192x8192 textures, where as the version with the new shaders uses 4096x4096 textures. There was no particular reason for this except ease of work. A few things to note:
|
In order to limit the scope of this pull request the focus will be on allowing map-wide content through the stratum layers. This is what you see in the screenshots at the moment. The other effects like advanced stratum interpolation and fixing small issues (like the masks being * 2 by default) will be for another release. I think having the possibility of shadows and global illumination-like techniques on maps will make a significant difference regardless. |
--** | ||
--** Summary : Thuntho Artillery Shell Projectile script, XSL0103 | ||
--** | ||
--** Copyright � 2007 Gas Powered Games, Inc. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like copyright unicode character for copyright got replaced by U+FFFC
@@ -6,30 +6,25 @@ | |||
-- Summary : Thuntho Artillery Shell Projectile script | |||
-- Seraphim T1 Artillery : XSL0103 | |||
-- | |||
-- Copyright � 2007 Gas Powered Games, Inc. All rights reserved. | |||
-- Copyright � 2007 Gas Powered Games, Inc. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is going to be the same for a lot of the Lua files in the game not just these few
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any idea why my editor replaces this every time? I think half of the files with a question mark are my doing at this point 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
39319af
to
75a4058
Compare
Fixed the branch so that it only involves the relevant changes. |
And I messed up again 😄 |
cbe7f72
to
219ec55
Compare
Not as pretty as I wanted it to be but now it is all good 😄 |
I tried to upload a test map directly onto Github, but to no avail. Here it is via WeTransfer: |
terrain-example-01.mp4An example of the zoom behavior for cliffs |
The repetitiveness of the ground textures is still a work in progress 😃 |
d0a77bd
to
4c8aca6
Compare
The possibilities are there, but without a fitting editor it is very difficult to work with the new shaders. The majority of suggested changes are already merged in with #4380 by accident. |
Various experiments to the terrain shader for improved fidelity. Currently it tries to implement:
Sources:
Instruction counts: