利用Notepad++高亮Ogre 材质脚本 Ogre material script highlight in Notepad++_note script-light-程序员宅基地

技术标签: border  脚本  fp  matrix  user  OGRE  object  

Notepad++ version: 5.6.4

Language: Ogre material

 

 

 

 

userDefineLang.xml

 

代码
< NotepadPlus >
    
< UserLang  name ="Ogre Material"  ext ="material" >
        
< Settings >
            
< Global  caseIgnored ="no"   />
            
< TreatAsSymbol  comment ="no"  commentLine ="yes"   />
            
< Prefix  words1 ="no"  words2 ="no"  words3 ="no"  words4 ="no"   />
        
</ Settings >
        
< KeywordLists >
            
< Keywords  name ="Delimiters" > 000000 </ Keywords >
            
< Keywords  name ="Folder+" ></ Keywords >
            
< Keywords  name ="Folder-" ></ Keywords >
            
< Keywords  name ="Operators" ></ Keywords >
            
< Keywords  name ="Comment" > 1 2 0// </ Keywords >
            
< Keywords  name ="Words1" > material technique pass texture_unit vertex_program_ref shadow_caster_vertex_program_ref fragment_program vertex_program fragment_program_ref geometry_program_ref geometry_program </ Keywords >
            
< Keywords  name ="Words2" > lod_distances receive_shadows transparency_casts_shadows set_texture_alias scheme lod_index ambient diffuse specular emissive scene_blend depth_check depth_write depth_func depth_bias alpha_rejection cull_hardware cull_software lighting shading polygon_mode fog_override colour_write max_lights iteration point_size point_size_attenuation point_size_min point_size_max point_sprites texture_alias texture anim_texture cubic_texture tex_coord_set tex_address_mode tex_border_colour filtering max_anisotropy colour_op colour_op_ex colour_op_multipass_fallback alpha_op_ex env_map scroll scroll_anim rotate rotate_anim scale wave_xform transform lod_index source entry_point profiles syntax content_type illumination_stage target delegate attach </ Keywords >
            
< Keywords  name ="Words3" > param_named param_named_auto param_indexed param_indexed_auto cg asm unified hlsl glsl </ Keywords >
            
< Keywords  name ="Words4" > world_matrix inverse_world_matrix transpose_world_matrix inverse_transpose_world_matrix world_matrix_array_3x4 view_matrix inverse_view_matrix transpose_view_matrix inverse_transpose_view_matrix projection_matrix inverse_projection_matrix transpose_projection_matrix inverse_transpose_projection_matrix worldview_matrix inverse_worldview_matrix transpose_worldview_matrix inverse_transpose_worldview_matrix viewproj_matrix inverse_viewproj_matrix transpose_viewproj_matrix inverse_transpose_viewproj_matrix worldviewproj_matrix inverse_worldviewproj_matrix transpose_worldviewproj_matrix inverse_transpose_worldviewproj_matrix render_target_flipping light_diffuse_colour light_diffuse_colour light_specular_colour light_attenuation light_position light_direction light_position_object_space light_direction_object_space light_position_view_space light_direction_view_space light_power ambient_light_colour fog_colour fog_params camera_position camera_position_object_space time time_0_x costime_0_x sintime_0_x tantime_0_x time_0_x_packed time_0_1 costime_0_1 sintime_0_1 tantime_0_1 time_0_1_packed time_0_2pi costime_0_2pi sintime_0_2pi tantime_0_2pi time_0_2pi_packed frame_time fps viewport_width viewport_height inverse_viewport_width inverse_viewport_height viewport_size view_direction view_side_vector view_up_vector fov near_clip_distance far_clip_distance texture_viewproj_matrix pass_number pass_iteration_number animation_parametric custom optional vs_1_1 vs_2_0 vs_2_x vs_3_0 arbvp1 vp20 vp30 vp40 ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_x ps_3_0 ps_3_x arbfp1 fp20 fp30 fp40 </ Keywords >
        
</ KeywordLists >
        
< Styles >
            
< WordsStyle  name ="DEFAULT"  styleID ="11"  fgColor ="000000"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="FOLDEROPEN"  styleID ="12"  fgColor ="000000"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="FOLDERCLOSE"  styleID ="13"  fgColor ="000000"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="KEYWORD1"  styleID ="5"  fgColor ="FF0000"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="KEYWORD2"  styleID ="6"  fgColor ="0000FF"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="KEYWORD3"  styleID ="7"  fgColor ="FF80C0"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="KEYWORD4"  styleID ="8"  fgColor ="0080FF"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="COMMENT"  styleID ="1"  fgColor ="000000"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="COMMENT LINE"  styleID ="2"  fgColor ="008040"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="NUMBER"  styleID ="4"  fgColor ="8000FF"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="OPERATOR"  styleID ="10"  fgColor ="000000"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="DELIMINER1"  styleID ="14"  fgColor ="000000"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="DELIMINER2"  styleID ="15"  fgColor ="000000"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
            
< WordsStyle  name ="DELIMINER3"  styleID ="16"  fgColor ="000000"  bgColor ="FFFFFF"  fontName =""  fontStyle ="0"   />
        
</ Styles >
    
</ UserLang >
</ NotepadPlus >

 

 

 

Reference:

Creating a User Defined Language in Notepad++

 

 2010-06-12 

 

 http://www.ogre3d.org/wiki/index.php/Notepad%2B%2B_Highlighter

 

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/pizi0475/article/details/6540713

智能推荐

前端开发之vue-grid-layout的使用和实例-程序员宅基地

文章浏览阅读1.1w次,点赞7次,收藏34次。vue-grid-layout的使用、实例、遇到的问题和解决方案_vue-grid-layout

Power Apps-上传附件控件_powerapps点击按钮上传附件-程序员宅基地

文章浏览阅读218次。然后连接一个数据源,就会在下面自动产生一个添加附件的组件。把这个控件复制粘贴到页面里,就可以单独使用来上传了。插入一个“编辑”窗体。_powerapps点击按钮上传附件

C++ 面向对象(Object-Oriented)的特征 & 构造函数& 析构函数_"object(cnofd[\"ofdrender\"])十条"-程序员宅基地

文章浏览阅读264次。(1) Abstraction (抽象)(2) Polymorphism (多态)(3) Inheritance (继承)(4) Encapsulation (封装)_"object(cnofd[\"ofdrender\"])十条"

修改node_modules源码,并保存,使用patch-package打补丁,git提交代码后,所有人可以用到修改后的_修改 node_modules-程序员宅基地

文章浏览阅读133次。删除node_modules,重新npm install看是否成功。在 package.json 文件中的 scripts 中加入。修改你的第三方库的bug等。然后目录会多出一个目录文件。_修改 node_modules

【】kali--password:su的 Authentication failure问题,&sudo passwd root输入密码时Sorry, try again._password: su: authentication failure-程序员宅基地

文章浏览阅读883次。【代码】【】kali--password:su的 Authentication failure问题,&sudo passwd root输入密码时Sorry, try again._password: su: authentication failure

整理5个优秀的微信小程序开源项目_微信小程序开源模板-程序员宅基地

文章浏览阅读1w次,点赞13次,收藏97次。整理5个优秀的微信小程序开源项目。收集了微信小程序开发过程中会使用到的资料、问题以及第三方组件库。_微信小程序开源模板

随便推点

Centos7最简搭建NFS服务器_centos7 搭建nfs server-程序员宅基地

文章浏览阅读128次。Centos7最简搭建NFS服务器_centos7 搭建nfs server

Springboot整合Mybatis-Plus使用总结(mybatis 坑补充)_mybaitis-plus ruledataobjectattributemapper' and '-程序员宅基地

文章浏览阅读1.2k次,点赞2次,收藏3次。前言mybatis在持久层框架中还是比较火的,一般项目都是基于ssm。虽然mybatis可以直接在xml中通过SQL语句操作数据库,很是灵活。但正其操作都要通过SQL语句进行,就必须写大量的xml文件,很是麻烦。mybatis-plus就很好的解决了这个问题。..._mybaitis-plus ruledataobjectattributemapper' and 'com.picc.rule.management.d

EECE 1080C / Programming for ECESummer 2022 Laboratory 4: Global Functions Practice_eece1080c-程序员宅基地

文章浏览阅读325次。EECE 1080C / Programming for ECESummer 2022Laboratory 4: Global Functions PracticePlagiarism will not be tolerated:Topics covered:function creation and call statements (emphasis on global functions)Objective:To practice program development b_eece1080c

洛谷p4777 【模板】扩展中国剩余定理-程序员宅基地

文章浏览阅读53次。被同机房早就1年前就学过的东西我现在才学,wtcl。设要求的数为\(x\)。设当前处理到第\(k\)个同余式,设\(M = LCM ^ {k - 1} _ {i - 1}\) ,前\(k - 1\)个的通解就是\(x + i * M\)。那么其实第\(k\)个来说,其实就是求一个\(y\)使得\(x + y * M ≡ a_k(mod b_k)\)转化一下就是\(y * M ...

android 退出应用没有走ondestory方法,[Android基础论]为何Activity退出之后,系统没有调用onDestroy方法?...-程序员宅基地

文章浏览阅读1.3k次。首先,问题是如何出现的?晚上复查代码,发现一个activity没有调用自己的ondestroy方法我表示非常的费解,于是我检查了下代码。发现再finish代码之后接了如下代码finish();System.exit(0);//这就是罪魁祸首为什么这样写会出现问题System.exit(0);////看一下函数的原型public static void exit (int code)//Added ..._android 手动杀死app,activity不执行ondestroy

SylixOS快问快答_select函数 导致堆栈溢出 sylixos-程序员宅基地

文章浏览阅读894次。Q: SylixOS 版权是什么形式, 是否分为<开发版税>和<运行时版税>.A: SylixOS 是开源并免费的操作系统, 支持 BSD/GPL 协议(GPL 版本暂未确定). 没有任何的运行时版税. 您可以用她来做任何 您喜欢做的项目. 也可以修改 SylixOS 的源代码, 不需要支付任何费用. 当然笔者希望您可以将使用 SylixOS 开发的项目 (不需要开源)或对 SylixOS 源码的修改及时告知笔者.需要指出: SylixOS 本身仅是笔者用来提升自己水平而开发的_select函数 导致堆栈溢出 sylixos

推荐文章

热门文章

相关标签