English 中文(简体)
GLSL: Built-in Substances not accessible for Müller Apps?
原标题:GLSL: Built-in attributes not accessible for iPhone Apps?

我在座心中真心.。 我与Xroc公司合作,试图在Pi.实施一些开放式自由工。 我必须写出一个Schder for Poun-Lighting。 我只想宣布我的地理分布(垂直、指数、计算等),并将各自的观点作为沙子的属性(在高原学校里写)。 利用这些属性进行罚款,一些真正的基本沙分方案正确汇编并交付预期产出。

Now I m trying to start with some more advanced calculations, for which I need to use some of the built-in attributes of GLSL, namely i.e. the "gl_NormalMatrix", but whenever I try that, the program crashes and I get an "ERROR: 0:3: Use of undeclared identifier gl_NormalMatrix ". It happens identically whenever use any of the built-in attributes such as gl_Vertex, gl_Normal etc.

这些属性在GLSL中是否不存在,或者我是否失踪? Maybe 我没有充分了解这一努力。 如前所述,将我自己的外表属性转嫁给炼油厂,我也想知道该方案如何“了解”“自己”的正确价值,因此,整体内在属性的概念仍然令我困惑。 但是,当我试图管理一些摇篮时,我发现在网上看一看是否发生了一些事情,我还是看到了这些错误,尽管在撰写文件时,其他人似乎广泛使用内在特征。

我真的希望,这里的某个人能够说明这一点。 预致谢!

Julia

最佳回答
问题回答

暂无回答




相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签