Port shader image texture node.
Superceded by D12827: Geometry Nodes: Add Image Texture node.
Core devs: Please take over if you want to.
Differential D12734
Geometry Nodes: Add Shader Image texture node Authored by Charlie Jolly (charlie) on Oct 3 2021, 1:09 AM.
Details
Port shader image texture node. Superceded by D12827: Geometry Nodes: Add Image Texture node. Core devs: Please take over if you want to.
Diff Detail
Event TimelineComment Actions Latest work in progress. In current form it is working as a basic replacement for the Attribute Sample Texture node. Comment Actions @Hans Goudey (HooglyBoogly) @Dalai Felinto (dfelinto) Image Node patch is in a much better state. I ported the cycles code rather than the image texture code. I feel this is in a decent place for general review and feedback. I've not yet looked at supporting tiled images but this could be added later. Comment Actions I've been using this for the flowers demo (needs custom branch). So far it works great, thanks. My only remark is whether there is a way for the active UV to be the fallback for the Vector input. PS: If the patch is ready, could you please remove the "wip" from its title? Comment Actions Tidy up. Remove comments. Add support for image sequences by including NTREE_GEOMETRY in the image walker. Projection notes: The projection modes, Sphere, Tube and Box expect UV coords. The remapping is not exposed in the UI but possibly this should be. I guess these projections are not used much. @Dalai Felinto (dfelinto) For the default, there is a note in MOD_nodes_evaluator.cc that the defaults need more work. /* This is not supposed to be a long term solution. Eventually we want that nodes can specify * more complex defaults (other than just single values) in their socket declarations. */ |