Compare commits

...
7 Commits
Author SHA1 Message Date
twoischnig d2eddd29f2 Fix editor initialize 2025-02-06 22:57:55 +01:00
twoischnig fae7d257ab upm update16 2025-02-06 21:56:45 +01:00
twoischnig e3c3b30843 upm update15 2025-02-06 21:55:52 +01:00
twoischnig f52bbf9375 upm update14 2025-02-06 21:54:52 +01:00
twoischnig 4cb61d3cf7 upm update14 2025-02-06 21:54:03 +01:00
twoischnig 1b9a7907d0 upm update13 2025-02-06 21:49:54 +01:00
twoischnig b1fdff5c8b upm update12 2025-02-06 21:49:34 +01:00
6 changed files with 33 additions and 4 deletions

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
# Changelog
## 1.0.0
### Features
- Initial release
+7
View File
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a07b1103850d09148a72be9b0bc8426c
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
+7
View File
@@ -0,0 +1,7 @@
Copyright 2025 Incobyte
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+7
View File
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 3823b27c4c420574ab62d9ea0aa9df57
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
+3
View File
@@ -12,6 +12,9 @@ namespace Assets.ThoMagic.Renderer
{ {
public class FrameRenderer public class FrameRenderer
{ {
#if UNITY_EDITOR
[InitializeOnLoadMethod]
#endif
[RuntimeInitializeOnLoadMethod] [RuntimeInitializeOnLoadMethod]
public static void Initialize() public static void Initialize()
{ {
+4 -4
View File
@@ -45,7 +45,7 @@ Ensure that `ThoMagicRendererInclude.cginc` is included after the URP include fi
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/UnityInstancing.hlsl" #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/UnityInstancing.hlsl"
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl" #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ShaderGraphFunctions.hlsl"
#include "ThoMagicRenderer/Shaders/Include/ThoMagicRenderer.cginc" #include "Packages/com.incobyte.thomagicrenderer/Runtime/Resources/ThoMagicRenderer.cginc"
``` ```
Modify your shader structs and functions: Modify your shader structs and functions:
```hlsl ```hlsl
@@ -87,7 +87,7 @@ Ensure `ThoMagicRendererInclude.cginc` is included after the HDRP include files:
```hlsl ```hlsl
#include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl" #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariables.hlsl" #include "Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariables.hlsl"
#include "ThoMagicRenderer/Shaders/Include/ThoMagicRenderer.cginc" #include "Packages/com.incobyte.thomagicrenderer/Runtime/Resources/ThoMagicRenderer.cginc"
``` ```
Modify your shader structs and functions: Modify your shader structs and functions:
```hlsl ```hlsl
@@ -126,11 +126,11 @@ void Frag(PackedVaryingsMeshToPS packedInput, OUTPUT_GBUFFER(outGBuffer) #ifdef
- Scriptable Render Pipeline (SRP) - Scriptable Render Pipeline (SRP)
## License ## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.
## Contributing ## Contributing
Pull requests are welcome! If you have any improvements or bug fixes, feel free to contribute. Pull requests are welcome! If you have any improvements or bug fixes, feel free to contribute.
## Contact ## Contact
For questions or support, please reach out via [GitHub Issues](https://github.com/yourusername/ThoMagicRenderer/issues). For questions or support, please reach out via [Issues](https://git.incobyte.de/public/ThomagicRenderer/issues).