Thanks, I removed quad shifting part in my engine . However that didn`t solve my issue , which means it is something
different from the topic I started
Thanks anyway
- Viewing Profile: Posts: arijan
Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics
Community Stats
- Group Members
- Active Posts 222
- Profile Views 2,315
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
108
Neutral
User Tools
Posts I've Made
In Topic: About non-integer pixel centers & AA
21 August 2012 - 09:15 AM
In Topic: GLSL `Semantics/BuiltIn Variables` & `centroid` & `Interface blocks`
03 April 2012 - 02:23 AM
Tanzanite , thanks a lot for all your help ,
things are clear in my side now
and as for my struct usage ofcourse I am not going to use rgb stuff inside structs like this , it was just for example.
things are clear in my side now
and as for my struct usage ofcourse I am not going to use rgb stuff inside structs like this , it was just for example.
In Topic: GLSL `Semantics/BuiltIn Variables` & `centroid` & `Interface blocks`
02 April 2012 - 05:37 AM
By the way as I have tested , I can use in out with structs so that I can share structs between shader stages.
But I am trying to understand its pros and cons against non-uniform in/out interface blocks :
But I think that is working because I use I declare a global variable with that struct type ?
But I am trying to understand its pros and cons against non-uniform in/out interface blocks :
// inside the vertex shader
out struct test
{
ATTRIB(0) float red;
ATTRIB(1) float green;
ATTRIB(2) float blue;
} ;
test v_out;
But I think that is working because I use I declare a global variable with that struct type ?
In Topic: GLSL `Semantics/BuiltIn Variables` & `centroid` & `Interface blocks`
30 March 2012 - 07:32 AM
Firstly I have an AMD card.
1. I am not supposed to use in/out qualifiers with structs ? Does that mean if I am going to share things between stages
they should be either interfaces or just global variables using in/out qualifiers ?
2. In HLSL side, I am using semantics like TEXCOORD4_centroid , and I was planning to use something like
layout(location=4) to match TEXCOORDs. And at the same time I want to specify that that variable should be sampled by
centroid sampling method
How can I achieve this ?
3. Regarding mixing `in centroid` with an `out struct` ,I was trying the code above in a vertex shader so that I want to output that struct and that is working like that.
On the other hand the compiler doesn`t allow me to use centroid with out in a vertex shader but it just allows `centroid in` in a vertex shader.
1. I am not supposed to use in/out qualifiers with structs ? Does that mean if I am going to share things between stages
they should be either interfaces or just global variables using in/out qualifiers ?
2. In HLSL side, I am using semantics like TEXCOORD4_centroid , and I was planning to use something like
layout(location=4) to match TEXCOORDs. And at the same time I want to specify that that variable should be sampled by
centroid sampling method
How can I achieve this ?
3. Regarding mixing `in centroid` with an `out struct` ,I was trying the code above in a vertex shader so that I want to output that struct and that is working like that.
On the other hand the compiler doesn`t allow me to use centroid with out in a vertex shader but it just allows `centroid in` in a vertex shader.
In Topic: Could you comment for my portfolio ?
11 October 2011 - 06:33 PM
Is the site really rubbish ?
I really am looking forward to hearing feedbacks , especially constructive ones
thanks...
I really am looking forward to hearing feedbacks , especially constructive ones
thanks...
- Home
- » Viewing Profile: Posts: arijan

Find content