Skip to content
This repository was archived by the owner on Dec 10, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (21 loc) · 1.17 KB

File metadata and controls

29 lines (21 loc) · 1.17 KB

null-gui

gui framework

image

Created only by the fact that there was nothing more to do and the idea of making your own gui was brewing for a long time. Perhaps, if someone wants to make their own gui, they can pick something up for their project (although most of the code is blueprint with ImGui).

Warning! The code has a huge amount of shit and other garbage that someday, perhaps, will be fixed.

Project settings

Pixel shaders:

  • blur
  • pixel (only in dx11)

Vertex shaders:

  • vertex

To compile shaders correctly use these settings:
HLSL Compiler -> Output Files -> Header Variable Name | "%(Filename)"
HLSL Compiler -> Output Files -> Header File Name | "%(RootDir)%(Directory)..\compiled\%(Filename).h"
HLSL Compiler -> Output Files -> Object File Name | empty
HLSL Compiler -> General -> Shader Type | for pixel shaders "Pixel Shader (/ps)", for vertex shaders "Vertex Shader (/vs)"

For directx9:
HLSL compiler -> General -> Shader Model | "Shader Model 3 (/3_0)"

For directx11:
HLSL compiler -> General -> Shader Model | "Shader Model 4 (/4_0)"