Export Materials to GLSL Code #28839
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#28839
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.60
Category: Game Engine
Python: 3.2
Script name: GLSL Exporter
Wiki page: http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Game_Engine/Export_GLSL
Author(s): Vitor Balbio
Status: Open
%%%Export one or more materials to GLSL Code
Select the Export mode in "Material Properties" and click in "Export"
%%%
Changed status to: 'Open'
%%%Updated to version 1.0%%%
%%%Fixed bl_info%%%
%%%Hi,
Due to changes to the api including the merging of bmesh, several addons are outdated.
Please, if you are the author of an addon check your script with blender revision 44256 or newer.
That is builds made After blender 2.62 official release.
I would ask that updates be made to your addon before the Blender 2.63 release.
6-8 weeks away.
This allows time for the api to become more exposed & bmesh to stablize furthur.
If you need help, drop into irc freenode #blenderpython or #blendercoders & feel welcome to ask questions.
At the time of 2.63 release, scripts that are not repaired or in active developement will have their tracker page marked "Closed"
this will not affect your links to the tracker, similar to closing scripts in 2.49b, the page will be still availible & can be re-opened.
Thanks for your understanding & patience during these Exciting Times.
Brendon.%%%
Added subscriber: @dr.sybren
Please don't use backslashes as path separators.
Don't:
Do:
I have taken the liberty to update the code for the following:
The new version: game_export_GLSL_Shader.py
That is great Sybren. There was a while that i don't check it to update and fix bugs. Sure this addon can be useful to someone yet. Thanks!
Added subscriber: @Razvan
Changed status from 'Open' to: 'Archived'
hi, Vitor Balbio (vitorbalbio), could you please update the wiki page with a link to your latest code.
Archiving this page for now.
Feel free to resubmit this addon if your maintaining it & would like to develop in Blender.
Added subscriber: @JanisGrinvalds
This comment was removed by @JanisGrinvalds
Added subscriber: @r_guy
Will this work with the most recent version of blender (2.78)?
The download link on the wiki page
https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Game_Engine/Export_GLSL
takes me to the maniphest page, which makes me wonder if this add on is no longer supported. Is there a new way to export glsl that has supplanted this one?
edit: the updated script that @dr.sybren links to still seems to work
Added subscriber: @shadowforce768
Added subscriber: @IvayloGogov
Hello Guys,
There is a chance so start using Blender, in serious pipeline for automotive industry, I'm already in a process but I was wondering if this plugin could be updated for 2.8, or there is a plan for another tool in 2.8 similar like this one for exporting Cycles or Eevee shaders to Frag, Vertex once?
Basically, we need to have proper Ver, Frag sharer availability after the export.
We are using real-time engines for Auto-Cockpit and embedded systems. I will appreciate to discuss the topic with someone of the developers.
This was developed for BGE that was removed in 2.8 and there's no direct shader access from python in EEVEE so i don't think it's possible to get GLSL shaders at this time.
Thank you for respond Vitor,
Do you think this could be done in addition by someone for 2.8 or? Are you saying there is no possibilities of access the GLSL generated materials in viewport via python. Interesting, then how the shader nodes are translated to the GLSL view-port environment then?