Skip to content

Commit

Permalink
2_6_0
Browse files Browse the repository at this point in the history
Updated to lastest Blender Beta and added UE nodes
  • Loading branch information
DigiKrafting committed Jun 26, 2019
1 parent 211372b commit f7feb29
Show file tree
Hide file tree
Showing 4 changed files with 924 additions and 850 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Provides a material panel that creates Metallic/Roughness or Specular/Gloss Node
- Use Mesh Name for texture matching
- Use Material Name for texture matching
- Auto Detect Nodes from textures.
- Creates nodes for Unreal Engine Textures. * (On detection of OcclusionRoughnessMetallic texture)

# Roadmap

Expand All @@ -33,7 +34,7 @@ Prior to blender_addon_pbr 2.0.0

# Installation

Download either the tar.gz or zip from [https://github.com/Digiography/blender_addon_pbr/releases/latest](https://github.com/Digiography/blender_addon_pbr/releases/latest)
Download either the tar.gz or zip from [https://github.com/DigiKrafting/blender_addon_pbr/releases/latest](https://github.com/DigiKrafting/blender_addon_pbr/releases/latest)

Installing an Addon in Blender

Expand Down
22 changes: 11 additions & 11 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@
# ##### END GPL LICENSE BLOCK #####

bl_info = {
"name": "PBR",
"name": "DKS PBR",
"description": "PBR Workflow Tools",
"author": "Digiography.Studio",
"version": (2, 5, 1),
"author": "DigiKrafting.Studio",
"version": (2, 6, 0),
"blender": (2, 80, 0),
"location": "Properties > Material > PBR Material",
"wiki_url": "https://github.com/Digiography/blender_addon_pbr/wiki",
"tracker_url": "https://github.com/Digiography/blender_addon_pbr/issues",
"wiki_url": "https://github.com/DigiKrafting/blender_addon_pbr/wiki",
"tracker_url": "https://github.com/DigiKrafting/blender_addon_pbr/issues",
"category": "Material",
}

# Imports

import bpy
from bpy.utils import register_class, unregister_class
from . import ds_pbr
from . import dks_pbr

# Addon Preferences Panel

class ds_pbr_addon_prefs(bpy.types.AddonPreferences):
class dks_pbr_addon_prefs(bpy.types.AddonPreferences):

bl_idname = __package__

option_ao_node : bpy.props.BoolProperty(
name="Ambient Occlusion",
name="Occlusion Roughness Metallic",
description="Add Ambient Occlusion Map via RGB Mix Node",
default = False
)
Expand Down Expand Up @@ -89,19 +89,19 @@ def draw(self, context):
layout.prop(self, 'option_specular')

classes = (
ds_pbr_addon_prefs,
dks_pbr_addon_prefs,
)

def register():

for cls in classes:
register_class(cls)

ds_pbr.register()
dks_pbr.register()

def unregister():

ds_pbr.unregister()
dks_pbr.unregister()

for cls in reversed(classes):
unregister_class(cls)
Expand Down
Loading

0 comments on commit f7feb29

Please sign in to comment.