Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
22daa39b
Commit
22daa39b
authored
12 years ago
by
Florian Meyer
Browse files
Options
Downloads
Patches
Plain Diff
fix: reversed alpha mapping in cycles
parent
030cbd62
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
io_import_images_as_planes.py
+4
-4
4 additions, 4 deletions
io_import_images_as_planes.py
with
4 additions
and
4 deletions
io_import_images_as_planes.py
+
4
−
4
View file @
22daa39b
...
@@ -322,8 +322,8 @@ def create_cycles_material(self, image):
...
@@ -322,8 +322,8 @@ def create_cycles_material(self, image):
tex_image
.
show_texture
=
True
tex_image
.
show_texture
=
True
node_tree
.
links
.
new
(
out_node
.
inputs
[
0
],
mix_shader
.
outputs
[
0
])
node_tree
.
links
.
new
(
out_node
.
inputs
[
0
],
mix_shader
.
outputs
[
0
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
0
],
tex_image
.
outputs
[
1
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
0
],
tex_image
.
outputs
[
1
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
1
],
bsdf_diffuse
.
outputs
[
0
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
2
],
bsdf_diffuse
.
outputs
[
0
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
2
],
bsdf_transparent
.
outputs
[
0
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
1
],
bsdf_transparent
.
outputs
[
0
])
node_tree
.
links
.
new
(
bsdf_diffuse
.
inputs
[
0
],
tex_image
.
outputs
[
0
])
node_tree
.
links
.
new
(
bsdf_diffuse
.
inputs
[
0
],
tex_image
.
outputs
[
0
])
...
@@ -336,8 +336,8 @@ def create_cycles_material(self, image):
...
@@ -336,8 +336,8 @@ def create_cycles_material(self, image):
tex_image
.
show_texture
=
True
tex_image
.
show_texture
=
True
node_tree
.
links
.
new
(
out_node
.
inputs
[
0
],
mix_shader
.
outputs
[
0
])
node_tree
.
links
.
new
(
out_node
.
inputs
[
0
],
mix_shader
.
outputs
[
0
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
0
],
tex_image
.
outputs
[
1
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
0
],
tex_image
.
outputs
[
1
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
1
],
emission
.
outputs
[
0
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
2
],
emission
.
outputs
[
0
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
2
],
bsdf_transparent
.
outputs
[
0
])
node_tree
.
links
.
new
(
mix_shader
.
inputs
[
1
],
bsdf_transparent
.
outputs
[
0
])
node_tree
.
links
.
new
(
emission
.
inputs
[
0
],
tex_image
.
outputs
[
0
])
node_tree
.
links
.
new
(
emission
.
inputs
[
0
],
tex_image
.
outputs
[
0
])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment