Home > 计算机与 Internet > 为InteliShade添加自定义shader扩展名

为InteliShade添加自定义shader扩展名

InteliShade算是在VisualStudio环境下给Shader做语法着色比较好使的工具了.省去了usertype.dat,也不会给ide本身的c++代码的着色造成影响.
默认状态貌似只支持.fx扩展名的文件.如果希望自定义扩展名,比如.vsh,.psh,.hlsl等,可以把如下信息写到Reg文件,添加到注册表:
 
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftVisualStudio9.0LanguagesFile Extensions.**]
@="{a32b9340-09f7-4535-8f15-c79fc1845ddf}"
 
其中.**是希望添加的扩展名.
btw:InteliShade官网上号称v3.2 “will be released very soon”快半年了,,,还一点动静都没有
Advertisements
Categories: 计算机与 Internet
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: