Graphics
tinyrenderer
Our great sponsors
Graphics | tinyrenderer | |
---|---|---|
22 | 61 | |
620 | 19,346 | |
- | - | |
9.9 | 0.0 | |
over 3 years ago | 6 months ago | |
C# | C++ | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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?
tinyrenderer
-
How to Become a Software Engineer ?
C++: How OpenGL works: software rendering in 500 lines of code
-
From scratch OpenGL and shaders with raw Xlib
I don’t think that exists (I sure would like for it to), but until it does you could amuse yourself with:
- A 500-line (non-OpenGL-compatible) 3D rasterizer: https://github.com/ssloy/tinyrenderer/wiki.
- A “hello Wayland” app written in C without libwayland or anything else: https://gaultier.github.io/blog/wayland_from_scratch.html.
- A “hello X11” app written in x86-64 assembly(!) without libX11, libxcb, or anything else: https://gaultier.github.io/blog/x11_x64.html.
-
Tiny Compiler – Writing a Compiler in a Weekend
the tinyrenderer[1] project has been on my todos forever now. glad to see the author is writing more self-paced programming projects.
[1]: https://github.com/ssloy/tinyrenderer
-
Is there space in this field for extreme cases like mine ?
- Game development - Unity3D project based learning in C#: https://learn.unity.com/ - Graphics - There was another user on r/GraphicsProgramming the other day (who teaches Computer Graphics at his university) that linked their lecture series for the entry year of their course here: https://tamats.com/learn/realtime-graphics/ - Project based learning: https://github.com/ssloy/tinyrenderer/wiki - Rendering API tutorials: https://vulkan-tutorial.com/, https://learnopengl.com/
-
How do I become a graphics programmer? – A guide from AMD Game Engineering team
There are a couple of excellent resources out there for implementing 3D rendering from scratch.
On that I cannot recommend enough is this github repo:
https://github.com/ssloy/tinyrenderer/wiki/Lesson-0:-getting...
If you are more of a visual learner, this guy is also a treasure trove:
https://www.youtube.com/watch?v=ih20l3pJoeU
-
Ask HN: What books or courses do you know similar to "From Nand to Tetris"?
Other people have mentioned ray-tracing in one weekend
If anyone is really interested in graphics I would also recommend TinyRenderer
https://github.com/ssloy/tinyrenderer/wiki
This one is a CPU-based rasterizing renderer
Its good if you want to get a good understanding of what a GPU does underneath
-
Trying to learn wgpu
I was in a similar position to you, and I first did this https://github.com/ssloy/tinyrenderer/wiki
- Where do I start learning graphics programming?
-
Recommendation for graphics experimentation project
Yes, my thoughts exactly, shader!=program on GPU. It's just a code which calculates pixel color or pixel position. See for example this: https://github.com/ssloy/tinyrenderer/blob/master/main.cpp. It's not GLSL or anything uploadable to GPU yet it's still a shader.
-
I have a few months to prepare for an interview. Is there a project that would get me at least part of the way there for the interview?
In terms of a project which would be worthwhile, I think building a software rasterizer from scratch is a useful first step. TinyRenderer is a great place to start. Looking at the high level overview of many graphics subjects, ScratchAPixel is a valuable resource. Theres also just great information in some of the rote graphics programming textbooks (Michael Abrash's Black Book fully available online from Jason Gregory, and this book is really interesting). The "RayTracer in a weekend" series is also (seemingly) very illuminating (no pun intended).
What are some alternatives?
URP-Iridescence-Example - 🔮 An example of iridescence shader in URP.
sokol - minimal cross-platform standalone C headers
aseprite - Animated sprite editor & pixel art tool (Windows, macOS, Linux)
raylib - A simple and easy-to-use library to enjoy videogames programming
ShaderGraph - Unity ShaderGraph project
BodySlide-and-Outfit-Studio - BodySlide and Outfit Studio, a tool to convert, create, and customize outfits and bodies for Bethesda games.
bitmappers-companion - zine/book about bitmap drawing algorithms and math with code examples in Rust
deko3d - Homebrew low level graphics API for Nintendo Switch (Nvidia Tegra X1)
blender-lightprobes - Spherical harmonic light probes for Blender's Cycles render engine
Pangolin - Pangolin is a lightweight portable rapid development library for managing OpenGL display / interaction and abstracting video input.
Raylib-CsLo - autogen bindings to Raylib 4.x and convenience wrappers on top. Requires use of `unsafe`
3d-game-shaders-for-beginners - 🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.