Skip to content

A tutorial project that shows how to implement HLSL Pixel and Compute shaders in UE4

Notifications You must be signed in to change notification settings

undeadlabs/UE4ShaderPluginDemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Undead Labs note

This plugin is (c) the orignal author, Frederick Lindh, with additions by various contributors. This repo is a for used for internal development ONLY. Please copyright any individual files added for development to Undead Labs so it's clear which code is original and which is not

Do not use or copy this code directly into any Undead Labs game code!

Author's notes below:


Notice

I have removed the master branch and updated default to be the latest major version instead to make it more clear what major version head belongs to. I'm currently working on an update for 4.24 since there has been some major changes in how you best work with global shaders in the engine.

Basics

Updated version of Temaran's Compute Shader Plugin to Unreal 4.21. For more details see Temaran's original project: https://github.com/Temaran/UE4ShaderPluginDemo

Details

  • In UE4.21 Epic removed the automatic inclusion of virtual path to Shaders in the plugin directory. The project was updated to explicitly add the virtual shader paths.
  • Modified ComputeShader so it works on macOS as well, the shader function imageSize() is not available in Metal, or is broken in Epic's shaders.
  • In UE4.20, Epic changed the way the rendering pipeline is accessed and added global shaders for plugin (for details see the 4.17 release notes). This has made the "ShaderCopyPlugin" superfluous.
  • On the first start, the shaders will get compiled by Unreal. This might take some time, so be patient. ;)
  • This is a project plugin atm, as designed by Temaran. Unfortunately, I wasn't able to convert this into a engine plugin so far. When I manage to do this, I will insert it here in a new branch. If someone can/wants to help however, this would be cool as well!
  • For problems and other feedback contact me via my portfolio: www.valentinkraft.de :)

About

A tutorial project that shows how to implement HLSL Pixel and Compute shaders in UE4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.6%
  • C 4.3%
  • C# 4.1%