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

Add VertexColorMapEmissive #75

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@page "/Syntax/Expansion/VertexColorMapEmissive"

<h1>@pageTitle</h1>

<MarkdownPageRenderer srcFile="Syntax/Expansion/VertexColorMapEmissive.md" pageName=@pageTitle/>

@code {
string pageTitle = "VertexColorMapEmissive";
}
1 change: 1 addition & 0 deletions RouteList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public static string Get(string name) {
"VertexHeightDeformity" => "/Syntax/Expansion/VertexHeightDeformity",
"VertexHeightMap16" => "/Syntax/Expansion/VertexHeightMap16",
"Wormholes" => "/Syntax/Expansion/Wormholes",
"VertexColorMapEmissive"=> "/Syntax/Expansion/VertexColorMapEmissive",
_ => ""
};
}
Expand Down
Binary file added wwwroot/content/images/VCME_PQSEmissive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions wwwroot/content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@
* [VertexHeightDeformity](/Syntax/Expansion/VertexHeightDeformity)
* [VertexHeightMap16](/Syntax/Expansion/VertexHeightMap16)
* [Wormholes](/Syntax/Expansion/Wormholes)

## Other Expansions
* [VertexColorMapEmissive](/Syntax/Expansion/VertexColorMapEmissive)
62 changes: 62 additions & 0 deletions wwwroot/content/syntax/Expansion/VertexColorMapEmissive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
VertexColorMapEmissive is a custom PQS Mod intended for use by planet modders to give more control over planetary emissives than can be achieved with EVE CityLights or KopernicusExpansion's EmissiveFX.

Users may implement emissives in ScaledVersion, PQS, and/or Ocean in any combination, and each can have different maps if desired.

## Example

The node structure is the same in all use cases except for PQS and Ocean, in which case add the normal `order` and `enabled` values.
```
VertexColorMapEmissive
{
map = QuackPack/Textures/PluginData/CindHeatMap.dds
brightness = 1
transparency = 0.5
}
```
| Property | Data Type | Description |
|--------------|-----------|---------------|
| map | File Path | The RGBA color map to use for the emissive overlay|
| brightness | Decimal | A global multiplier to apply to the RGB channels of the map. The default value is 1, smaller values will dim the emissive and larger values will brighten it.|
| opacity | Decimal | A global multiplier to apply to the Alpha channel of the map. Default is 0.5, larger values will make the emissive more opaque (less transparent) and smaller values will make it less opaque (or more transparent).|

### ScaledVersion
```
ScaledVersion
{

VertexColorMapEmissive
{
...
}
}
```
![A view of a planet from far away showing the emissive across the terminator.](/content/images/VCME_ScaledSpaceEmissive.png)

### PQS
```
PQS
{
Mods
{
VertexColorMapEmissive
{
...
}
}
}
```
![An up close view of the night side of a planet showing the oceans and terrain glowing.](/content/images/VCME_PQSEmissive.png)

### Ocean
```
Ocean
{
Mods
{
VertexColorMapEmissive
{
...
}
}
}
```