Skip to content
Merged
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
15 changes: 15 additions & 0 deletions Luma.sln
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Thief (2014)", "Source\Game
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Watch Dogs 2", "Source\Games\Watch Dogs 2\Watch Dogs 2.vcxproj", "{D7A1B6B7-9CD7-46D2-9C42-E913F85966D4}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Blue Reflection Second Light", "Source\Games\Blue Reflection Second Light\Blue Reflection Second Light.vcxproj", "{23A5A14B-C2CA-4474-BC00-39C22C0CF778}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L.A. Noire", "Source\Games\L.A. Noire\L.A. Noire.vcxproj", "{70AE6118-3F1D-463D-8D73-3C1528E4B838}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Lego City Undercover", "Source\Games\Lego City Undercover\Lego City Undercover.vcxproj", "{0C26082F-5EBC-4A4F-B700-056009698224}"
Expand Down Expand Up @@ -267,6 +269,18 @@ Global
{D7A1B6B7-9CD7-46D2-9C42-E913F85966D4}.Test-Release|Win32.ActiveCfg = Test-Release|x64
{D7A1B6B7-9CD7-46D2-9C42-E913F85966D4}.Test-Release|x64.ActiveCfg = Test-Release|x64
{D7A1B6B7-9CD7-46D2-9C42-E913F85966D4}.Test-Release|x64.Build.0 = Test-Release|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Development-Debug|Win32.ActiveCfg = Development-Debug|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Development-Debug|x64.ActiveCfg = Development-Debug|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Development-Debug|x64.Build.0 = Development-Debug|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Development-Release|Win32.ActiveCfg = Development-Release|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Development-Release|x64.ActiveCfg = Development-Release|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Development-Release|x64.Build.0 = Development-Release|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Publishing-Release|Win32.ActiveCfg = Publishing-Release|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Publishing-Release|x64.ActiveCfg = Publishing-Release|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Publishing-Release|x64.Build.0 = Publishing-Release|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Test-Release|Win32.ActiveCfg = Test-Release|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Test-Release|x64.ActiveCfg = Test-Release|x64
{23A5A14B-C2CA-4474-BC00-39C22C0CF778}.Test-Release|x64.Build.0 = Test-Release|x64
{70AE6118-3F1D-463D-8D73-3C1528E4B838}.Development-Debug|Win32.ActiveCfg = Development-Debug|Win32
{70AE6118-3F1D-463D-8D73-3C1528E4B838}.Development-Debug|Win32.Build.0 = Development-Debug|Win32
{70AE6118-3F1D-463D-8D73-3C1528E4B838}.Development-Debug|x64.ActiveCfg = Development-Debug|Win32
Expand Down Expand Up @@ -739,6 +753,7 @@ Global
{32621FBE-EECA-480C-B110-57D73246398A} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{91886F0A-E405-4386-9BBA-BF011C50922F} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{D7A1B6B7-9CD7-46D2-9C42-E913F85966D4} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{23A5A14B-C2CA-4474-BC00-39C22C0CF778} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{70AE6118-3F1D-463D-8D73-3C1528E4B838} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{0C26082F-5EBC-4A4F-B700-056009698224} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
{6D7FE62D-347F-4331-AD21-82672EA4E434} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
Expand Down
8 changes: 8 additions & 0 deletions Shaders/Blue Reflection Second Light/Includes/Common.hlsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Always include this instead of the global "Common.hlsl" if you made any changes to the game shaders/cbuffers

// Define the game custom cbuffer structs
#include "GameCBuffers.hlsl"
// Global common
#include "../../Includes/Common.hlsl"
// Game specific settings
#include "Settings.hlsl"
30 changes: 30 additions & 0 deletions Shaders/Blue Reflection Second Light/Includes/GameCBuffers.hlsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#ifndef LUMA_GAME_CB_STRUCTS
#define LUMA_GAME_CB_STRUCTS

#ifdef __cplusplus
// This include is needed to allow reading shader types from c++.
#include "../../../Source/Core/includes/shader_types.h"
#endif

// Mirrors c++ name spaces.
namespace CB
{
// Define the game specific cbuffer settings here. They don't need 4 bytes alignment.
struct LumaGameSettings
{
float GameSetting01;
uint GameSetting02;
};

// Define the game specific cbuffer (instance/pass) data here
struct LumaGameData
{
float2 CurrJitters;
float2 PrevJitters;
float4x4 CameraSpaceToPreviousProjectedSpace;
float4x4 PreviousViewRotProjectionMatrix;
float4 PreviousCameraPosition; // W is dummy
};
}

#endif // LUMA_GAME_CB_STRUCTS
13 changes: 13 additions & 0 deletions Shaders/Blue Reflection Second Light/Includes/Settings.hlsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#ifndef SRC_GAME_SETTINGS_HLSL
#define SRC_GAME_SETTINGS_HLSL

// Include this after the global "Settings.hlsl" file

/////////////////////////////////////////
// Template LUMA advanced settings
// (note that the defaults might be mirrored in c++, the shader values will be overridden anyway)
/////////////////////////////////////////

#define EXAMPLE_TEMPLATE_DEFINE 1

#endif // SRC_GAME_SETTINGS_HLSL
Loading
Loading