Skip to content

Updated Template main.cpp - #162

Open
XgarhontX wants to merge 1 commit into
Filoppi:mainfrom
XgarhontX:template
Open

Updated Template main.cpp#162
XgarhontX wants to merge 1 commit into
Filoppi:mainfrom
XgarhontX:template

Conversation

@XgarhontX

Copy link
Copy Markdown
Contributor

So, I was trying to help someone get into Luma.
These are the changes to Template I'd make to explain how to set up & use a new project.

Some are like "no duh" (e.g. how to use Luma-Template.zip),
but others are invaluable reminders (e.g. DLSS and FSR includes).
Please change it to your liking.

Changes

  • Luma-Template.zip where to install and use.
  • DLSS & FSR includes (libs & dirs).
  • Explicit mention of Forced Include File ../../../Shaders/$(ProjectName)/Includes/GameCBuffers.hlsl;
  • Example LoadConfigs() and DrawImGuiSettings().

@Izueh

Izueh commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

This is a great idea, feel free to do everything in this list. I am already making some changes to make adding dlss/fsr a lot easier and modular. will be coming with a refactor I am planning.

@XgarhontX

XgarhontX commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

I am already making some changes to make adding dlss/fsr a lot easier and modular. will be coming with a refactor I am planning.

Big! It'll still needs the same Project Properties includes, right? Else, these changes can wait until you are done.

@Filoppi

Filoppi commented Aug 3, 2026

Copy link
Copy Markdown
Owner

FYI, there's also a zipped up Visual Studio template project in the folders.
Its slightly different as it's an empty template, but I strive to keep that up to that too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants