Rune Skovbo Johansen on Nostr: I had an impulse to see if I could make a basic hair shader that doesn't require any ...
I had an impulse to see if I could make a basic hair shader that doesn't require any specially made meshes or textures.
The shapes below are just standard Unity spheres and capsules and only a simple normal map is used; no other textures. Left is Unity's Standard shader; right is the same, but with brute force anisotropic shading, running the BRDF function up to 50 times and taking a weighted average.
Of course, non-brute force approaches are possible too, but way harder to make look good.
{
"id":"73ce3a4c9cbd0cad4ad20dc381e9dd322cb6b9470478072e6087997a7e46ad7e",
"pubkey":"027cbd81926eb614f0ec41d29985303b2cdfb48ba07df95ebdfa659c868a52ad",
"created_at":1760602894,
"kind":1,
"tags": [
[
"proxy",
"https://mastodon.gamedev.place/@runevision/115382871298752321",
"web"
],
[
"imeta",
"url https://cdn.masto.host/mastodongamedevplace/media_attachments/files/115/382/871/056/765/844/original/6ba3958767a3fa6f.mp4",
"m video/mp4"
],
[
"proxy",
"https://mastodon.gamedev.place/users/runevision/statuses/115382871298752321",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.gamedev.place/users/runevision/statuses/115382871298752321",
"pink.momostr"
],
[
"-"
]
],
"content":"I had an impulse to see if I could make a basic hair shader that doesn't require any specially made meshes or textures.\n\nThe shapes below are just standard Unity spheres and capsules and only a simple normal map is used; no other textures. Left is Unity's Standard shader; right is the same, but with brute force anisotropic shading, running the BRDF function up to 50 times and taking a weighted average.\n\nOf course, non-brute force approaches are possible too, but way harder to make look good.\nhttps://cdn.masto.host/mastodongamedevplace/media_attachments/files/115/382/871/056/765/844/original/6ba3958767a3fa6f.mp4\n",
"sig":"593efd1192641b9ed004004b425c2e3ec597e5e1344c2b16128fa18456392a22ab862fa4500ecdf9b0039a7b2dbf4cba454fa74356e6b634568be5a227eb81ac"
}