Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto importing images to materials #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AmericaMusium
Copy link

The Blender Source Tools is an add-on for Blender that simplifies working with assets used in games built on the Source engine, such as Half-Life 2, Counter-Strike: Source, and Team Fortress 2. This tool streamlines the process of importing and exporting models, animations, textures, and other data between Blender and Source engine projects.

new fix: auto importing images to materials

This is Blender Source Tools 3.3.1 with fixed importing textures for materials.
Standart-Stock version: When we importing qc\smd this plugin creates materials with same names as texture images. Without importing image-files.
My fix: Automatically importing images in nodes and conecting to material in Node-mode, Roughness 1.0. 
Tested only on Blender 4.1 with GoldSrc models. 
custom function is in "Import_smd.py"
This is Blender Source Tools 3.3.1 with fixed importing textures for materials.
Standart-Stock version: When we importing qc\smd this plugin creates materials with same names as texture images. Without importing image-files.
My fix: Automatically importing images in nodes and conecting to material in Node-mode, Roughness 1.0. 
Tested only on Blender 4.1 with GoldSrc models. 
custom function is in "Import_smd.py"
@AmericaMusium AmericaMusium marked this pull request as ready for review September 26, 2024 18:28
@AmericaMusium AmericaMusium changed the title BlenderSourceTools auto importing images to materials Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant