geometryshader parameters
Hi,
I want to use a simple geometry shader. How can I set the GEOMETRY_INPUT_TYPE_ARB, GL_GEOMETRY_OUTPUT_TYPE_ARB and GL_GEOMETRY_VERTICES_OUT_ARB parameters? Code:
#version 120 |
You should be able to use the layout modifier in your geometry shader source to specify these parameters. Example:
Code:
#version 330 compatibility |
thanks, it works :)
|
All times are GMT -7. The time now is 03:59 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC