Text Editor: Add GLSL syntax highlighting #114939

Closed
Gangneron wants to merge 5 commits from (deleted):GLSL_text into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
First-time contributor

Pr adds the Glsl language to the text editor.
The objective is to be able to create your own GLSL shaders in blender. This improves the workflow since all shader programming can be done directly in Blender. In addition, the GLSL language is a very popular language in the video games industry and even in general.
The goal is then to also support HSLS in the same way in order to have a complete solution with OSL, GLSL and HLSL

Pr adds the Glsl language to the text editor. The objective is to be able to create your own GLSL shaders in blender. This improves the workflow since all shader programming can be done directly in Blender. In addition, the GLSL language is a very popular language in the video games industry and even in general. The goal is then to also support HSLS in the same way in order to have a complete solution with OSL, GLSL and HLSL
Gangneron added 5 commits 2023-11-15 22:24:06 +01:00
Pr adds the Glsl language to the text editor.
The objective is to be able to create your own GLSL shaders in blender. This improves the workflow since all shader programming can be done directly in Blender. In addition, the GLSL language is a very popular language in the video games industry and even in general.
The goal is then to also support HSLS in the same way in order to have a complete solution with OSL, GLSL and HLSL
Author
First-time contributor
@Jeroen-Bakker
Member

I think this PR is broken. Can you check it?

The actual use case/benefit is still unclear as GLSL is mostly developed inline. Personally I don't have a strong opinion on adding GLSL to the text editor. On the bigger picture the idea is to move away from GLSL internally, but expect it to be supported for add-on developers even when OpenGL is phased out.

I think this PR is broken. Can you check it? The actual use case/benefit is still unclear as GLSL is mostly developed inline. Personally I don't have a strong opinion on adding GLSL to the text editor. On the bigger picture the idea is to move away from GLSL internally, but expect it to be supported for add-on developers even when OpenGL is phased out.
Iliya Katushenock changed title from add_GLSL_in_text_editor to Text Editor: Add GLSL syntax highlighting 2023-11-16 18:49:21 +01:00
Iliya Katushenock added this to the Python API project 2023-11-16 18:49:26 +01:00
Iliya Katushenock added the
Interest
EEVEE & Viewport
Interest
Text Editor
labels 2023-11-16 18:49:35 +01:00

In case you do not wait for the developers to decide whether this is necessary and want to continue development (I don't recommend rushing, it's best to wait for a decision):

In case you do not wait for the developers to decide whether this is necessary and want to continue development (I don't recommend rushing, it's best to wait for a decision): - https://wiki.blender.org/wiki/Style_Guide - Code style format / comments. - Better to use template versions of allocators. - CMake changes looks unrelated, can be moved in separate cleanup.
Member

the move to modern cmake is a separate project and should definitely not be included in other unrelated work

the move to modern cmake is a separate project and should definitely not be included in other unrelated work
Thomas Dinges closed this pull request 2024-01-04 16:41:15 +01:00

For reference, Gangneron asked me to delete his fork of Blender, cause he got server errors when updating/creating a PR. That's why this PR got auto closed.

For reference, Gangneron asked me to delete his fork of Blender, cause he got server errors when updating/creating a PR. That's why this PR got auto closed.

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#114939
No description provided.