Compare commits
7
Commits
1afdef799f
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2eddd29f2 | ||
|
|
fae7d257ab | ||
|
|
e3c3b30843 | ||
|
|
f52bbf9375 | ||
|
|
4cb61d3cf7 | ||
|
|
1b9a7907d0 | ||
|
|
b1fdff5c8b |
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
## 1.0.0
|
||||||
|
### Features
|
||||||
|
- Initial release
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a07b1103850d09148a72be9b0bc8426c
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -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.
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3823b27c4c420574ab62d9ea0aa9df57
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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).
|
||||||
|
|
||||||
Reference in new issue
Block a user