-
Posts
541 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by DudeAwesome
-
-
@josh
fast fix:
use utf8_decode()/utf8_encode to get the right data.
it looks like the content for the simplexml_load_string() is no utf8. thats why it drops the error.
-
I prefer netbeans
-
my screen destroyed the website .
I see this error very often here.
- 1
-
not logged in as Admin on your OS ?
-
Thx !
you know some good tutorials for deferred shader ? well I wanted to try to read glsl 4.0 Cook Book but its bad when I cant Test the shader Examples :/
I really want to get more involved into shaders but its like the holy grail.
-
I forgot about that thread
-
hey guys I´m reading opengl 4.0 shading cook book to get a feeling for shaders and learn the basics but I fail with my first simple diffuse shader example. thats my code:
Vertex
#version 400 layout (location = 0) in vec3 VertexPosition; layout (location = 1) in vec3 VertexNormal; out vec3 LightIntensity; uniform vec4 LightPosition; // Light position in eye coords. uniform vec3 Kd; // Diffuse reflectivity uniform vec3 Ld; // Light source intensity uniform mat4 ModelViewMatrix; uniform mat3 NormalMatrix; uniform mat4 ProjectionMatrix; uniform mat4 MVP; // Projection * ModelView void main(){ // Convert normal and position to eye coords vec3 tnorm = normalize( NormalMatrix * VertexNormal); vec4 eyeCoords = ModelViewMatrix * vec4(VertexPosition,1.0); vec3 s = normalize(vec3(LightPosition - eyeCoords)); // The diffuse shading equation LightIntensity = Ld * Kd * max( dot( s, tnorm ), 0.0 ); // Convert position to clip coordinates and pass along gl_Position = MVP * vec4(VertexPosition,1.0); }
Fragment
#version 400 in vec3 LightIntensity; layout( location = 0 ) out vec4 FragColor; void main() { FragColor = vec4(LightIntensity, 1.0); }
I attached the shader to a material and to a ground but it is still invisible and the screen is black.
-
https://dl.dropboxusercontent.com/u/4416426/IMG_2482.mov
(just recorded it with my mobile telephone too lazy for fraps and compression and youtube.
you see that the wall flips black when I turn. there is a point light in the middle of the room. vsync is on and I have constant 59/60 FPS
edit:
same in leadwerks AI and Events demo
-
then wait until he contacts you. he will read this thread for sure.
-
write him a personal message.
-
free weekend include a %saleprice%?
-
yep its material editor bug. annoying I know but josh said this should be fix in the latest build
-
whats your framerate?
@micheal
yougroove have set in his startpost sync to true so vsync should be activated. how this function works and if it give us double or trible buffering i dont know, but yougrooves screen looks like normal vsync off artifacts. do you have more context create or some context functions that maybe influence the vsync?
-
you mean some Walls flip dark and then it draws the normal Texture when you turn in fp view?
-
Never Heard- about that tool
-
m(
If what you are trying to say is that you have never seen DLC used as upgrades for software you really haven't been looking very hard, a few apps already do that.come one! use eyes and please read again the startpost and my post.
he want to UPGRADE from STEAM INDIE LUA to NONSTEAM STANDARD EDITION.
this is not possible on steam your links show me a normal upgrade dlc. we talking about standalone (nonsteam) dlc on steam and this dont exist.
- 1
-
when I try to attach a custom shader to a material without textures (I created some basic shaders like diffuse and ads etc.) and I try to save the material everything gets resetted. I dont know why I waste my time with this. I just wanted to learn some shader stuff and want to use leadwerks but this is also not working...
-
On Steam, this will be offered as a DLC. On our own site, you can upgrade here:
http://www.leadwerks.com/werkspace/store/product/14-leadwerks-31-standard-edition/
Steam to standalone upgrade dlc? Never have Seen such a dlc before. Sounds like a April fool
-
Would be more User friendly for sure
-
for animations you need animation shaders thats right
- 1
-
-
mhmm dont understand why but when you say no you say no.
pity.
-
do you use IPBoard here?
http://tapatalk.com/activate_tapatalk.php
can you activate it if you can afford 15 mins
(dont hurry but if you have some time)
-
Finally had some time to take a look at my map. Added
self.world:SetLightQuality(2)
to app.lua and things look a lot better. I guess I can remedy some of the small areas by breaking up long corridors, or scripting the light to turn off when they reach a certain area.
what is that function? there is no entry in the api in the world class
Shifting focus
in Tech Talk
Posted
we have linux now and macosx is not far away from linux