Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
Shader Thread
Moderator: Support
- shermanpat
- Posts: 122
- Joined: 21 Feb 2012, 22:03
- Location: SLC Ut USA
Re: Shader Thread
Getting some head way on understanding it. My issues is I don't see the input properties. How Do I expose the code values to the node properties?
-Sherman
Meru Interactive
Meru Interactive
Re: Shader Thread
Just by declaring global variables at the beginning of the code - those are then exposed.
Also you can use much of the Ventuz information such as lights, materials or textures. Look at the help page for the HLSL shader for some more info.
Also you can use much of the Ventuz information such as lights, materials or textures. Look at the help page for the HLSL shader for some more info.
-
- Posts: 93
- Joined: 18 Jan 2012, 20:02
Re: Shader Thread
Hey,
I am playing around with the shader node and did a Mandelbrot Shader, fine so far...
I am wondering how to trigger the shader to kind of recalculate the graphics. When I am zooming in, resolution of the drawn graphics do get pretty bad...
Thanks!
Cheers,
Tobi
I am playing around with the shader node and did a Mandelbrot Shader, fine so far...
I am wondering how to trigger the shader to kind of recalculate the graphics. When I am zooming in, resolution of the drawn graphics do get pretty bad...
Thanks!
Cheers,
Tobi
http://www.radar-touch.com
http://www.prime-touch.com
Want to filter or transform TUIO data? http://code.google.com/p/tuiotoolbox/
Looking for a tool generating Testpattern for Softedge projections??? I can help: http://code.google.com/p/projection-calc/
http://www.prime-touch.com
Want to filter or transform TUIO data? http://code.google.com/p/tuiotoolbox/
Looking for a tool generating Testpattern for Softedge projections??? I can help: http://code.google.com/p/projection-calc/
Re: Shader Thread
Kind of dual-layer metallic shader - taken from ATI demo.
Your geometry needs proper UV coordinates!- Attachments
-
- Metalic_Experiment_V4_c.vza
- (1015.04 KiB) Downloaded 426 times
-
- Metalic_Experiment_V4_b.vza
- (1.04 MiB) Downloaded 385 times
-
- Metalic_Experiment_V4_a.vza
- (1.49 MiB) Downloaded 397 times
-
- Posts: 666
- Joined: 18 Jan 2012, 20:56
- Location: wuppertal
- Contact:
Re: Shader Thread
hey karol
very nice! THX
greetz
christian
very nice! THX
greetz
christian
-
- Posts: 93
- Joined: 18 Jan 2012, 20:02
Re: Shader Thread
Hey!
find a simple Mandelbrot Shader attached... I like them a lot, really good ones look a lot better than mine .
Vza is done with the PLE.
Cheers,
Tobi
find a simple Mandelbrot Shader attached... I like them a lot, really good ones look a lot better than mine .
Vza is done with the PLE.
Cheers,
Tobi
- Attachments
-
- MandelbrotShader.vza
- (21.18 KiB) Downloaded 406 times
http://www.radar-touch.com
http://www.prime-touch.com
Want to filter or transform TUIO data? http://code.google.com/p/tuiotoolbox/
Looking for a tool generating Testpattern for Softedge projections??? I can help: http://code.google.com/p/projection-calc/
http://www.prime-touch.com
Want to filter or transform TUIO data? http://code.google.com/p/tuiotoolbox/
Looking for a tool generating Testpattern for Softedge projections??? I can help: http://code.google.com/p/projection-calc/
-
- Posts: 169
- Joined: 16 Mar 2012, 19:01
Re: Shader Thread
any plan to develop a velvet shader?
thank you.
thank you.
Re: Shader Thread
Hi!
Could you post some sample images what you expect?
Karol
Could you post some sample images what you expect?
Karol
- shermanpat
- Posts: 122
- Joined: 21 Feb 2012, 22:03
- Location: SLC Ut USA
Re: Shader Thread
Trying to figure out an error in a shader.
error is:
"global variables cannot use the "half" type in ps_3_0. To treat this variable as a float use the backwards compatibilty flag"
this is the line of code getting the error.
QUAD_REAL2 QuadScreenSize : VIEWPORTPIXELSIZE <
string UIName="Screen Size";
string UIWidget="None";
>;
Do i just need to get the screen size in a different way. This is sample code that i am trying to use.
error is:
"global variables cannot use the "half" type in ps_3_0. To treat this variable as a float use the backwards compatibilty flag"
this is the line of code getting the error.
QUAD_REAL2 QuadScreenSize : VIEWPORTPIXELSIZE <
string UIName="Screen Size";
string UIWidget="None";
>;
Do i just need to get the screen size in a different way. This is sample code that i am trying to use.
-Sherman
Meru Interactive
Meru Interactive
- shermanpat
- Posts: 122
- Joined: 21 Feb 2012, 22:03
- Location: SLC Ut USA
Re: Shader Thread
ok posted too soon, found a fix.
#define QUAD_REAL float
#define QUAD_REAL2 float2 //This was set to "half2" just had to set it to "float2"
#define QUAD_REAL3 half3
#define QUAD_REAL4 half4
This for a shadow from a single light point. Got the code to compiled right, now i have to figure out how to set up the ventuz scene and feed position data to the shader. This might take a while...
#define QUAD_REAL float
#define QUAD_REAL2 float2 //This was set to "half2" just had to set it to "float2"
#define QUAD_REAL3 half3
#define QUAD_REAL4 half4
This for a shadow from a single light point. Got the code to compiled right, now i have to figure out how to set up the ventuz scene and feed position data to the shader. This might take a while...
-Sherman
Meru Interactive
Meru Interactive