Search found 152 matches
- Fri Oct 23, 2009 12:31 pm
- Forum: Code Snippets
- Topic: Geometry Shaders for Irrlicht(development closed till later)
- Replies: 59
- Views: 17656
- Tue Aug 25, 2009 8:21 am
- Forum: Open Discussion and Dev Announcements
- Topic: How about OpenGL 3.1 support?
- Replies: 4
- Views: 1380
- Sun Jun 07, 2009 12:50 pm
- Forum: Advanced Help
- Topic: [Solved] Error with while loop in a hlsl shader
- Replies: 17
- Views: 5514
- Fri Jun 05, 2009 10:58 pm
- Forum: Advanced Help
- Topic: [Solved] Error with while loop in a hlsl shader
- Replies: 17
- Views: 5514
- Thu Jun 04, 2009 3:53 pm
- Forum: Advanced Help
- Topic: [Solved] Error with while loop in a hlsl shader
- Replies: 17
- Views: 5514
Hello,
I solved the problem with this code:
It's a little bit slow (60 fps in hlsl instead of 300 in glsl) but it works so far.
I solved the problem with this code:
Code: Select all
int i = 0;
for(i=0;i<200;i++) {
if(NB.r < height){
height -= step;
offsetCoord += delta;
NB = tex2D(heightMap, offsetCoord);
}
}
- Tue Jun 02, 2009 4:30 pm
- Forum: Advanced Help
- Topic: [Solved] Error with while loop in a hlsl shader
- Replies: 17
- Views: 5514
- Tue Jun 02, 2009 4:23 pm
- Forum: Advanced Help
- Topic: Help for Airplane
- Replies: 5
- Views: 771
During flight you have 4 forces which are affecting the airplane. (Lift, weight, thrust and drag) The lift vector is the normal vector of the wings. The weight vector is always pointing to the ground (it's NOT always the opposite of lift(only in straight and level flight)). The thrust vector is alwa...
- Sat May 30, 2009 2:43 pm
- Forum: Advanced Help
- Topic: [Solved] Error with while loop in a hlsl shader
- Replies: 17
- Views: 5514
- Fri May 29, 2009 10:14 pm
- Forum: Advanced Help
- Topic: [Solved] Error with while loop in a hlsl shader
- Replies: 17
- Views: 5514
- Tue May 26, 2009 10:33 am
- Forum: Advanced Help
- Topic: [Solved] Error with while loop in a hlsl shader
- Replies: 17
- Views: 5514
- Mon May 25, 2009 10:30 pm
- Forum: Advanced Help
- Topic: [Solved] Error with while loop in a hlsl shader
- Replies: 17
- Views: 5514
[Solved] Error with while loop in a hlsl shader
Hi, I tried to convert a glsl shader to hlsl. The most things are working but in one line a get a very strange error: HLSL pixel shader compilation failed: (54): error X3511: loop does not appear to terminate in a timely manner (1024 iterations) [...] while (NB.r < height) {<-----this is line 54 hei...
- Mon Mar 23, 2009 2:48 pm
- Forum: Project Announcements
- Topic: XEffects - Reloaded - New Release (V 1.4)
- Replies: 826
- Views: 423045
- Sun Mar 22, 2009 11:21 am
- Forum: Project Announcements
- Topic: XEffects - Reloaded - New Release (V 1.4)
- Replies: 826
- Views: 423045
Hi, I tried to use a tree with xeffects but the shadows are wrong. The alpha values of the leafes are ignored by xeffects although I set emt_alpha_channel_ref as materialtype. Here's a screenshot of the tree without Xeffects: http://img256.imageshack.us/img256/9403/schattenmitalphaaa.th.png Here's a...
- Wed Mar 18, 2009 2:30 pm
- Forum: Project Announcements
- Topic: XEffects - Reloaded - New Release (V 1.4)
- Replies: 826
- Views: 423045
- Mon Mar 02, 2009 3:25 pm
- Forum: Everything 2d/3d Graphics
- Topic: IrrMesh import
- Replies: 3
- Views: 1099
IrrMesh import
Hello,
are there any modelling tools which are able to import the irrmesh
format or are there any plugins available for this ?
are there any modelling tools which are able to import the irrmesh
format or are there any plugins available for this ?