Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Edit:-

How do I implement GLEW (or OpenGL extension libraries) within Unity?

Original Question:-

I've recently been looking into some really nice features of OpenGL 3.2 that I want to take advantage of in the development of a tech demo. One example being Geometry Shaders and Tessellation: now I know that OSX 10.8 already implements OpenGL 3.2 but not all of the functionality has been exposed, that is where GLEW comes in.

GLEW is a C/C++ extension... I have very limited C/C++ knowledge, would anyone be able to run through (in layman's terms) how to get GLEW working along side my C# Unity project.

share|improve this question
2  
Nothing in your question refers to unity except the headline and tag. Are you trying to combine unity and glew somehow? –  Jari Komppa Jan 25 '13 at 12:23
    
This is all very fuzzy. Are you programming in C++? For OSX? Also, "how to get started" questions are not allowed here (check the faq), so you'll need to rephrase this title to turn it to a real, answerable, question. –  Laurent Couvidou Jan 25 '13 at 12:24
1  
You don't need GLEW (or any extension library) on MacOSX. Apple's OpenGL implementation already exports all the symbols. –  ccxvii Jan 25 '13 at 13:25
    
Sorry, was terribly worded I've edited the question. @ccxvii Do you think it's more a case of Unity not exposing this functionality in that case? –  Caius Eugene Jan 25 '13 at 15:14
add comment

1 Answer

up vote 5 down vote accepted

Unity is a higher level rendering engine which doesn't necessarily even use OpenGL for its rendering. (The default on Windows is DirectX, as far as I know.) But even if it did, extensions aren't usually things you can just 'switch on' and have it affect the rest of the system - the system usually has to be built in such a way as to make use of the extensions. So really you need to check which features Unity supports, without reference to OpenGL specifically.

share|improve this answer
    
Answers my question perfectly. Guess I might have to build my own engine –  Caius Eugene Jan 26 '13 at 9:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.