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

0suddenly0/null-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)"