Lukas Stockner LukasStockner
  • Joined on 2013-12-26
Lukas Stockner pushed to main at LukasStockner/blender 2023-09-19 03:18:35 +02:00
05c053cd25 Cycles: make transmission color in Pricipled BSDF match the base color
742f3b233f Nodes: Rename ui_items property to items_tree
e59944dba4 Anim: armature edit mode 'select by bone color' operator
d5329eeea2 Anim: armature edit mode 'select by bone collection' operator
c230c52626 Anim: implement 'Select Grouped' by bone color
Compare 285 commits »
Lukas Stockner merged pull request blender/blender#112314 2023-09-17 15:42:24 +02:00
Add panels to Principled BSDF node
Lukas Stockner pushed to main at blender/blender 2023-09-17 15:42:23 +02:00
88ad79c2d1 Add panels to Principled BSDF node
Lukas Stockner commented on pull request blender/blender#112314 2023-09-16 22:02:38 +02:00
Add panels to Principled BSDF node

The fix for links not showing up is merged now - I think we can just merge this as-is and handle the short-name topic (and panels in the property editor) as a follow-up?

Lukas Stockner pushed to main at blender/blender 2023-09-16 03:40:23 +02:00
5939810b3c Cycles: Remove unused Normal input on Hair BSDF
c963e22a0c Cycles: Fix Geometry node Tangent output for curves when using OSL
02ace97df7 Cycles: Also use maybe_ensure_valid_specular_reflection for OSL
1b92284f86 Cycles: Pack Chiang Hair local coordinates into BSDF normal field
Compare 4 commits »
Lukas Stockner pushed to main at blender/blender 2023-09-14 04:23:41 +02:00
26ed117049 Cycles: Fix OSL layering in combination with emission evaluation
c082e43f1e Cycles: Specify roughness for Subsurface OSL node
65d56143ab Cycles: Don't invert backfacing IOR in generalized_schlick_bsdf
Compare 3 commits »
Lukas Stockner approved blender/blender#112158 2023-09-14 02:03:47 +02:00
Refactor: Cycles: adjust microfacet lobe selection pdf by tint

LGTM - looks like tests need to be updated, but it's only a few fireflies that are different.

Lukas Stockner commented on pull request blender/blender#112158 2023-09-14 01:49:45 +02:00
Refactor: Cycles: adjust microfacet lobe selection pdf by tint

Ah okay, maybe Blender and Cycles drifted apart a bit here? Anyways, you're right that this is not really consistent, so I think we can just leave this.

Lukas Stockner commented on pull request blender/blender#112158 2023-09-14 01:49:03 +02:00
Refactor: Cycles: adjust microfacet lobe selection pdf by tint

Ah yeah, good point. All of these only get called from one location anyways, so it's much nicer to do a clean initialization there than to do it 100x in each individual BSDF.

Lukas Stockner commented on pull request blender/blender#112314 2023-09-13 16:28:33 +02:00
Add panels to Principled BSDF node

I like the idea of ordering it based on layering, just feels intuitive to me. But I don't really have a strong opinion.

Lukas Stockner commented on pull request blender/blender#112314 2023-09-13 14:27:53 +02:00
Add panels to Principled BSDF node

I think Roughness and IOR should be in the Specular panel, with that panel first and expanded by default.

Metallic and Transmission probably as well. When there are more transmission…

Lukas Stockner pushed to main at blender/blender 2023-09-13 03:37:40 +02:00
e6296acdba Cycles: Only compute Coat Normal if needed
Lukas Stockner commented on issue blender/blender#99447 2023-09-13 03:35:17 +02:00
Principled v2 BSDF

Hello @LukasStockner

(Also tagging @ThomasDinges as coordinator)

Seems the current status is behind the initial planning for 4.0 I'd like to have a updated status of each item:…

Lukas Stockner suggested changes for blender/blender#112158 2023-09-13 03:30:48 +02:00
Refactor: Cycles: adjust microfacet lobe selection pdf by tint

Looks great! The new approach is much cleaner.

Lukas Stockner commented on pull request blender/blender#112158 2023-09-13 03:30:47 +02:00
Refactor: Cycles: adjust microfacet lobe selection pdf by tint

Shouldn't this be r_cos_theta_t?

Lukas Stockner commented on pull request blender/blender#112158 2023-09-13 03:30:47 +02:00
Refactor: Cycles: adjust microfacet lobe selection pdf by tint

Is this intentional?

Lukas Stockner commented on pull request blender/blender#112158 2023-09-13 03:30:46 +02:00
Refactor: Cycles: adjust microfacet lobe selection pdf by tint

This might cause issues if r_cos_theta_r is NULL, just use cosT I guess.

Lukas Stockner commented on pull request blender/blender#112158 2023-09-13 03:30:45 +02:00
Refactor: Cycles: adjust microfacet lobe selection pdf by tint

Nitpick: The if above explicitly checks for non-positive cosT_sq, so this can be a regular sqrt.

Lukas Stockner commented on pull request blender/blender#112158 2023-09-13 03:30:45 +02:00
Refactor: Cycles: adjust microfacet lobe selection pdf by tint

Nitpick: I think we generally use 2 as a suffix to indicate squared values, like cosT2?