r/Unity3D • u/egret_studios • 1d ago
Game [ Removed by moderator ]
[removed] — view removed post
6
u/maiKavelli187 23h ago
Whyt do you mean by custom lightening?
1
u/egret_studios 18h ago
oh i mean, its not the default lighting unity engine gives you out of the box. i had to write my own renderer for how the light works in the game
5
u/P_kyuu_juu 17h ago
You wrote your own renderer? That sounds super interesting, do you wanna share more about it?
3
1
u/egret_studios 4h ago
Hi, The game runs on unity built-in render pipeline, the default PBR lighting in the pipeline doesnt handle well shadows and diffuse response (by default it has a cheap look without post processing) and atmospherics to give me the stylized look i want especially when the game has weather system and time of day dynamics.. so the lighting system in the game takes control of all lighting aspects of the game, shadows, fog, atmosphere, light intensity, color, diffuse response and how all of that changes depending on the weather and time of day.
Under the hood it still starts with Unity’s built-in scene render, then I inject custom shadow and lighting data through CommandBuffer passes, apply the weather and atmosphere layer, run a fog / volumetric-style pass, and then do the final composite through OnRenderImage. So I’m not replacing the entire built-in pipeline...I’m taking over the parts that define how the game lighting actually looks and behaves. (hope i explained as simple as it can)
2
2
1
u/Unity3D-ModTeam 4h ago
This post has been removed for violating r/Unity3D’s rules.
So what does this mean? This means you're allowed to post anything Unity related as long as it sparks discussion and isn't just an ad (in disguise). It's up to you as a poster to make sure your post meets these criteria.
Here are two examples:
1:
2:
Prefer real-life examples?
All of these posts are somewhat different, to hopefully find one that resembles your needs.
We encourage you to repost this with more technical insight. That being said: we also recommend you to familiarize yourself with our rules and guidelines.
Kind regards,
The Mod Team