Graphics
tinyraycaster
Our great sponsors
Graphics | tinyraycaster | |
---|---|---|
22 | 5 | |
620 | 1,839 | |
- | - | |
9.9 | 0.0 | |
over 3 years ago | about 5 years ago | |
C# | C++ | |
GNU General Public License v3.0 or later | Do What The F*ck You Want To Public License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Graphics
-
How can I make my grass not cast any shadows?
URP: https://github.com/Unity-Technologies/Graphics/blob/master/Packages/com.unity.render-pipelines.universal/Shaders/Lit.shader
- Compiling shader variants taking forever. Did I do something wrong?
- Post Process - Uber Shader - What's it do? Can I remove it?
-
Are there any resources out there for anyone looking to take a deep dive into Unity's different systems and components? Like a really deep dive?
Graphics (shaders mostly) https://github.com/Unity-Technologies/Graphics
-
DaVinci Resolve 18
it already is happening (kinda), they are modularizing their engine, and all the new parts are made open source
biggest part what their graphics stack https://github.com/Unity-Technologies/Graphics (only the scripting part)
competition is growing, unreal is fully open source, and more and more people have been asking for the source, there was even some drama few years ago when unity DMCA'd (if i remember correctly) a reference source code of unity engine (decompiled) on github, then unity made it officially available on their github: https://github.com/Unity-Technologies/UnityCsReference after users complained about it
wich already proved effective and caused them to fix a huge performance issue shortly after: https://github.com/Unity-Technologies/UnityCsReference/pull/...
-
I made an Iridescence Shader for Unity URP 2019.4 and 2020.3
https://github.com/Unity-Technologies/Graphics/blob/cfd0466579c654441290c0c1645b1f083c4de886/com.unity.render-pipelines.core/ShaderLibrary/BSDF.hlsl https://github.com/CJT-Jackton/URP-Iridescence-ExampleThis is what i used
-
Learning Unity: looking for an extremely detailed and fully broken down tutorial
It also depends on what you want to learn, theres many topics that in a AAA production are made by completely different people - sub topics if you so will: URP and HDRP has public source code for all the shaders, but theres alot of internal Unity Macros that are not well documented: https://github.com/Unity-Technologies/Graphics
-
Working on a cel shader supporting multiple lights, and with specular as well as rim highlights
The light intensity falloff is still something I'm working on. The implementation utilizes structs and functions from the Unity URP library, more specifically the RealtimeLights.hlsl file (https://github.com/Unity-Technologies/Graphics/blob/master/com.unity.render-pipelines.universal/ShaderLibrary/RealtimeLights.hlsl). Within the light struct there exists variables for both distance attenuation and shadow attenuation, in short this library calculates how much the light intensity should decrease/increase based on distance, and then it's up to the cel shader to properly threshold this value in a correct way.
-
Finding Your Home in Game Graphics Programming
Unity render pipeline source is available here: https://github.com/Unity-Technologies/Graphics
All the C# code running in the editor and runtimes is here:
- Is the unlit shader script supported with URP? Do I need to make any change if I use it?
tinyraycaster
- Can someone please explain how old school pseudo 3D dungeon crawlers were made?
-
Finding Your Home in Game Graphics Programming
That sounds like a fun challenge. If you're constraining yourself to use as few libraries as possible, I'd go with OBJ [1] for the 3d mesh and PPM [2] for writing images. It's easy to implement a bare bones reader/writer and some OSes (like macOS) can show them in the file browser. Raytracing in One Weekend goes over PPM. There are a bunch of header-only libraries that handle different file formats like stb_image [3]. I usually end up using those when I start dealing with textures or UI elements. I don't use Windows so I haven't used their APIs for projects like this. I'd usually go for imgui or SDL (like you mentioned). tinyracaster, a sibling project of tinyrenderer, touches on those [4]. I liked LazyFoo's SDL tutorial [5]. Good luck!
[1] https://en.wikipedia.org/wiki/Wavefront_.obj_file
[2] https://en.wikipedia.org/wiki/Netpbm#PPM_example
[3] https://github.com/nothings/stb
[4] https://github.com/ssloy/tinyraycaster/wiki/Part-4:-SDL
[5] https://lazyfoo.net/tutorials/SDL/index.php
-
How do 2.5D games work?
I haven’t followed this one but I did follow another of his tutorials and that was good, here is ssloy’s tinyraycaster: https://github.com/ssloy/tinyraycaster/wiki
-
what are the best resources to learn makefile and how to understand large codebases
Don't just jump into the source file , read the make file first, from there you'll know how main file is dependent on other files , and start with the .h(header files as they'll give a basic idea what their corresponding .cpp file do and yeah start with small Repos first as they are easier to understand like this one.
-
Game Development With Windows 95
I believe this wiki page can walk you through a retro style raycaster engine: https://github.com/ssloy/tinyraycaster/wiki
What are some alternatives?
URP-Iridescence-Example - 🔮 An example of iridescence shader in URP.
UnityCsReference - Unity C# reference source code.
aseprite - Animated sprite editor & pixel art tool (Windows, macOS, Linux)
pymake - Parse GNU Makefiles with Python. Work in progress!
ShaderGraph - Unity ShaderGraph project
bitmappers-companion - zine/book about bitmap drawing algorithms and math with code examples in Rust
raylib - A simple and easy-to-use library to enjoy videogames programming
blender-lightprobes - Spherical harmonic light probes for Blender's Cycles render engine
Raylib-CsLo - autogen bindings to Raylib 4.x and convenience wrappers on top. Requires use of `unsafe`
Apache Ant - Apache Ant is a Java-based build tool.