Skip to content

renderer: add per-stage heightMap keyword (loose heightMap support)#252

Merged
illwieckz merged 2 commits intoDaemonEngine:masterfrom
illwieckz:heightmap
Dec 29, 2019
Merged

renderer: add per-stage heightMap keyword (loose heightMap support)#252
illwieckz merged 2 commits intoDaemonEngine:masterfrom
illwieckz:heightmap

Conversation

@illwieckz
Copy link
Copy Markdown
Member

@illwieckz illwieckz commented Dec 25, 2019

This PR introduces the per-stage heightMap keyword to load loose heightMaps.

@illwieckz illwieckz force-pushed the heightmap branch 2 times, most recently from a55a46a to 9b7c4a0 Compare December 25, 2019 23:39
@illwieckz illwieckz added T-Feature-Request Proposed new feature A-Renderer labels Dec 25, 2019
@illwieckz illwieckz force-pushed the heightmap branch 4 times, most recently from a8a6083 to 157417f Compare December 27, 2019 23:29
illwieckz added a commit to illwieckz/Daemon that referenced this pull request Dec 28, 2019
also make USE_HEIGHTMAP_IN_NORMALMAP a macro, obsoletes DaemonEngine#189

About the collapse code collapsing heightmap stage while heightmap is a pre-colapsed stage attribute:

> @slipher: The commit message says the heightmap is a per-stage attribute, but this looks like it's in a stage by itself?

> @illwieckz: The dpMaterial DarkPlaces compatibility layer is not yet ported to the pre-collapsed stage code and I'm using Xonotic assets to test this feature, hence the temporary requirement to collapse a standalone heightmap stage. There is no keyword available to mapper to use the standalone heightmap stage, only the per-stage attribute, so there is no chance a mapper uses the standalone heightmap stage by mistake and we can drop it one day.

DaemonEngine#252 (review)
also make USE_HEIGHTMAP_IN_NORMALMAP a macro, obsoletes DaemonEngine#189

About the collapse code collapsing heightmap stage while heightmap is a pre-colapsed stage attribute:

> @slipher: The commit message says the heightmap is a per-stage attribute, but this looks like it's in a stage by itself?

> @illwieckz: The dpMaterial DarkPlaces compatibility layer is not yet ported to the pre-collapsed stage code and I'm using Xonotic assets to test this feature, hence the temporary requirement to collapse a standalone heightmap stage. There is no keyword available to mapper to use the standalone heightmap stage, only the per-stage attribute, so there is no chance a mapper uses the standalone heightmap stage by mistake and we can drop it one day.

DaemonEngine#252 (review)
@slipher
Copy link
Copy Markdown
Member

slipher commented Dec 29, 2019

LGTM

@illwieckz illwieckz merged commit f45f3ec into DaemonEngine:master Dec 29, 2019
@illwieckz illwieckz deleted the heightmap branch December 31, 2019 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants