Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AyoubKhammassi/CustomComputeShaders
The minimal source code for adding and using a custom compute shader in Unreal Engine 4
https://github.com/AyoubKhammassi/CustomComputeShaders
Last synced: about 1 month ago
JSON representation
The minimal source code for adding and using a custom compute shader in Unreal Engine 4
- Host: GitHub
- URL: https://github.com/AyoubKhammassi/CustomComputeShaders
- Owner: AyoubKhammassi
- License: mit
- Created: 2020-06-28T11:55:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-14T07:24:36.000Z (over 1 year ago)
- Last Synced: 2023-11-07T17:20:40.389Z (about 1 year ago)
- Language: C++
- Size: 509 KB
- Stars: 140
- Watchers: 5
- Forks: 36
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome_unreal_engine_4_-_5 - CustomComputeShaders
- awesome_unreal_engine_4_-_5 - CustomComputeShaders
README
# CustomComputeShader
A minimal Unreal Engine 4 porject for adding and using a compute shader. I published an article that covers the main steps of the process and I use this project as an example.
## Modules:
* **CustomComputeShader** : The primary game module
* **CustomShadersDeclarations** : The game module that contains all the code for adding and using the compute shader## Shaders:
* **WhiteNoiseCS** : A simple compute shader that renders white noise to a texture## UE4 Version
This project was created and tested using **UE4.24**. Id you're using **UE4.25**, you'll need to include **/Engine/Public/Platform.ush** in your shader file in order for it to compile.