Search found 232 matches
- Sat Feb 14, 2015 4:56 pm
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6172280
Re: What are you working on?
There are debug tools gl_saturatelighting (additive if 1) gl_monolightmap with values I, L (multiplication), A (alpha blending) otherwise, multitextured or 2-pass, there is multiplicative blending of a lightmap into diffuse texture if ( qglMTexCoord2fSGIS ) { GL_EnableMultitexture( true ); GL_Select...
- Sat Feb 14, 2015 7:34 am
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6172280
Re: What are you working on?
Khm q2 use multiplying lightmaps blending (in gl)qbism wrote:q2bsp vs q3bsp - q2bsp lighting is additive, q3 is a multiplier. The q3 method is faster but dynamic lighting fails in dark areas. Anything x 0 = 0.
- Thu Feb 12, 2015 7:51 pm
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6172280
Re: What are you working on?
I not seen your code more time ago, remember what it was all very cool optimized for rendering. I studied like you did deluxe maps, but i make my version, and without any compiler But i wanted shadows from all objects and.... make like d3 engine...
- Thu Feb 12, 2015 6:34 am
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6172280
Re: What are you working on?
Shadow volumes ideal thing for closed levels. But if we need add shadows from bsp-bmodels, otherwise the shadow will "break through" the wall (like q3 with cg_shadows 2)
- Wed Jan 21, 2015 7:45 pm
- Forum: OpenGL Programming
- Topic: Volumetric Stencil Shadows
- Replies: 4
- Views: 6550
Re: Volumetric Stencil Shadows
Each technology has drawbacks - shadow volumes strongly hit the vertex processor, shadow maps to the pixel. In quake2 polygonal very low and we can use the shadow volumes. In doom3 Carmack also prefer shadow volumes. But if you look in the debugger, tri-call can be "scary". Q2dm1 - up to 2...
- Wed Jan 21, 2015 10:08 am
- Forum: OpenGL Programming
- Topic: Volumetric Stencil Shadows
- Replies: 4
- Views: 6550
Re: Volumetric Stencil Shadows
I do not think it is worth to remember Creative pat now. You're not going to sell it? :) stencil setup for z-fail volumes GL_StencilMask(255); GL_StencilFuncSeparate(GL_FRONT_AND_BACK, GL_ALWAYS, 128, 255); GL_StencilOpSeparate(GL_BACK, GL_KEEP, GL_INCR_WRAP_EXT, GL_KEEP); GL_StencilOpSeparate(GL_FR...
- Tue Jan 20, 2015 11:04 am
- Forum: Engine Programming
- Topic: A+B+C+D=0 from vector + dist
- Replies: 8
- Views: 9002
Re: A+B+C+D=0 from vector + dist
A+B+C= -D ?
- Mon Jan 05, 2015 8:20 am
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6172280
- Sun Jan 04, 2015 5:49 pm
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6172280
Re: What are you working on?
csm map is rgba texture -
Red: inverted heightmap
Green: sqrt (Cone_Ratio)
Blue: df/dx
Alpha: df/dy
But shader use only RG channels
Red: inverted heightmap
Green: sqrt (Cone_Ratio)
Blue: df/dx
Alpha: df/dy
But shader use only RG channels
- Sun Jan 04, 2015 12:26 pm
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6172280
Re: What are you working on?
I spent a few hours in order to alter the height map in csm maps. As a result, the size of re-texture increased by 500 megabytes. If we compare the speed - csm is approximately two times faster than pom or relief mapping. But if you use optimized algorithms for relief and pom and then the speed is a...
- Sun Jan 04, 2015 11:24 am
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6172280
Re: What are you working on?
Oktoneddu2000 wrote: @Barnes: it seems a cool effect but maybe a video could show all of its beauty
http://www.youtube.com/watch?v=Gjkny7aujzM
- Thu Jan 01, 2015 1:24 pm
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6172280
- Mon Dec 01, 2014 1:55 pm
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6172280
Re: What are you working on?
Try to make the blood darker, now it is very reminiscent of the wall paint
- Sun Nov 30, 2014 7:32 pm
- Forum: General Discussion
- Topic: What are you working on?
- Replies: 3884
- Views: 6172280
Re: What are you working on?
Donetoneddu2000 wrote:I don't know if it's superdifficult, but, if you make a video, it would be great to add a GUI slider that enhances/decreases blur at runtime!
http://www.youtube.com/watch?v=RcU-s_7ouUs
- Thu Nov 13, 2014 7:33 pm
- Forum: General Programming
- Topic: VisualStudio Community Edition
- Replies: 8
- Views: 8225
Re: VisualStudio Community Edition
support plugins? very nice